Distributed Deployment Quick Reference
Minimal configuration
Complete configuration (recommended)
Parameter quick lookup table
distributed (distributed cache invalidation)
transaction.distributedLock (compatibility placeholder)
transaction.distributedLock is retained only as a compatibility placeholder. It is not wired into transaction cache-lock interception, and transaction cache locks remain process-local.
For cross-instance critical sections, use explicit business coordination such as DistributedCacheLockManager plus idempotency/fencing, or bypass cache for strict freshness paths.
Common scenarios
Scenario 1: General Web application (recommended)
Scenario 2: Financial/payment system
Scenario 3: Kubernetes deployment
Environment variable settings
Docker
Kubernetes
PM2
Key point memory
redisorredisUrl- required for distributed invalidation; the runtime does not inspectcache.remoteenabled- optional when the block exists; set it tofalseto disable the block without deleting itinstanceId- Optional but recommended setting for easy debugging- Strict cross-instance flows - use explicit business coordination or bypass cache
Verify configuration
Documentation: Full Description Update: 2025-11-25