Distributed Systems
How data stays correct when it lives on many machines. One topic per part, each with step-through animations.
- 01 Distributed Systems, Part 1: ReplicationKeeping copies of the same data on several nodes. Leaders and followers, sync and async, failover, replication lag, multi-leader and leaderless designs, and quorums, each with a step-through animation.
- 02 Distributed Systems, Part 2: Replication by handBuilding single-leader replication with Express, Redis and Nginx, one step at a time: shared state, replication offsets, read-your-writes, resync, and a manual failover that loses an acknowledged write.