Who is alive, and where does it go: gossip, detectors and hash variants
The Cart That Cannot Say No · Open board
Dynamo, the system that keeps a list of live machines with no boss and places every key on a ring. This lesson takes those two jobs apart and shows the other ways to do each.
Before you start.Splitting the ledger (sharding) gave you the ring: keys and servers sit on a circle, and a key belongs to the next server clockwise. It also gave you the cost of the plain remainder rule, which moves almost every key when the server count changes. Raft 01: Leader Election showed a heartbeat, a small “I am alive” message sent on a timer, and a follower that gives up when the timer runs out. This lesson asks what happens when there are ten thousand machines and nobody is the leader.
Lesson 6 of 115 in System Design
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.