Command Palette

Search for a command to run...

Hectal
Phase 10Advanced11 of 17 in Redis

Replication & High Availability

Asynchronous replication, partial and full resync, replica lag and stale reads, Sentinel failover, split brain, and how to reason about CAP for a real Redis deployment.

Replication gives Redis read scaling and a standby to fail over to. It's asynchronous, which is why a Redis failover can lose acknowledged writes and why reading from replicas can show old data.

This phase makes those behaviours precise, then builds automatic failover with Sentinel and analyses what happens during network partitions, the part of Redis HA that interviews dig into hardest.

0/4 · 0%
4 topics ~38 min 8 code blocks & diagrams
Start with the first topic