Redis Replication and Sentinel: Failover That Is Fast, and Split Brain That Is Forever
How Redis async replication and Sentinel (or Cluster) elect a new primary, and why a missed replica can still accept writes you will never see again.
3 min read
Engineering at scale
4 articles · 12 min of reading
How Redis async replication and Sentinel (or Cluster) elect a new primary, and why a missed replica can still accept writes you will never see again.
How Redis kept a single-threaded command loop to make operations atomic and latency predictable — and where that design still bites under big keys and slow commands.
Cache-aside with RedisTemplate and @Cacheable: serialization, stampede locks, negative caching, and when the annotation hides a thundering herd.
A tour of Redis's core data structures and the caching, rate-limiting, and leaderboard patterns each one is actually built for.