Distributed Caching
Cache topology, consistency models, invalidation strategies, and distributed state management for low-latency, high-traffic applications — banking, retail, telecoms or SaaS. The patterns that keep p99 latency in the millisecond range and survive cache stampedes.
Distributed Caching: Redis Cluster & Sentinel
Cache patterns (cache-aside, write-through, write-behind), Redis topology (Cluster vs Sentinel), invalidation strategies, the cache stampede that has felled more high-traffic platforms than any disk failure, and operational patterns for sub-millisecond latency.
Distributed Caching: Hazelcast IMDG for In-Process State
Embedded grid topology, partition awareness, near-cache configuration, and the stateful, compute-heavy workloads where collapsing the network hop between your JVM and its data beats a shared Redis cluster — plus the real costs of embedding state inside application pods.
Cache Invalidation via CDC: Debezium-Driven Redis Invalidation
Driving cache invalidation from a Debezium DB2 change stream: connector config, Redis consumer with Lua tag-invalidation, safety-net TTLs, and the only pattern that survives DBA-level schema changes the application doesn’t know about.
Distributed Session Management: Spring Session, Redis & FAPI 2.0
Spring Session + Redis for stateless customer portals, OAuth2/FAPI 2.0 PKCE session lifecycle, regulatory timeout requirements, concurrent session control, and the session fixation and CSRF patterns that survive a regulator examination.
Multi-Tier Caching Strategies: Caffeine L1 + Redis L2 for Sub-Millisecond APIs
Caffeine L1 and Redis L2 CompositeCacheManager, keyspace notification for L1 coherence across pods, cache warming on startup, TTL budget allocation, and the stampede prevention patterns that keep p99 latency under 5 ms at high request volumes.
Near-Cache & Read-Replica Topologies: Redis Read-Scaling for High-Frequency, Peak-Load APIs
REPLICA_PREFERRED routing in Lettuce, replica lag budgets per data type, Caffeine near-cache with keyspace notification coherence, Hazelcast Near Cache configuration, peak-window patterns for settlement runs and flash sales, and the failure modes that cause stale balances during Redis failover.
Further reading
Official documentation and specifications behind the articles above. The articles are reference architectures with illustrative code; these sources are authoritative.