Lab article · ~14 min read

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 banking platforms than any disk failure, and operational patterns for sub-millisecond latency.

Redis 7 Lettuce Cache-Aside Stampede Protection Sentinel
Read article →
Lab article · ~14 min read

Distributed Caching: Hazelcast IMDG for In-Process State

Embedded grid topology, partition awareness, near-cache configuration, and the stateful financial 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.

Hazelcast 5.4 EntryProcessor Near-cache CP Subsystem Kubernetes
Read article →
Lab article · ~14 min read

Cache Invalidation via CDC: Debezium-Driven Redis Invalidation

Driving cache invalidation from a Debezium DB2 stream: connector config, Redis consumer with Lua tag-invalidation, SAMA audit continuity, and the only pattern that survives DBA-level schema changes the application doesn’t know about.

Debezium Redis Kafka Connect CDC Cache Invalidation
Read article →
Lab article · ~14 min read

Distributed Session Management: Spring Session, Redis & FAPI 2.0

Spring Session + Redis for stateless banking apps, OAuth2/FAPI 2.0 PKCE session lifecycle, SAMA timeout requirements, concurrent session control, and the session fixation and CSRF patterns that survive a regulator examination.

Spring Session Redis FAPI 2.0 PKCE SAMA Compliance
Read article →
Lab article · ~14 min read

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 banking scale.

Caffeine Redis Spring Cache Cache Warming L1/L2 Cache
Read article →