Two leaders
Difficulty 2 of 5
A network split isolates the leader for one second. A majority must restore leadership within 0.5 seconds. Stop the old leader from applying writes with an old term. Waiting for the split to end is too slow.
0:03. The old leader still applies writes. Graph: two nodes accept writes in the same second.
Fencing tokens · lease 30 s · late write with token 33: rejected
Goals and limits
- Lost writes
- none
- Split-brain writes
- none
- Recovery time (RTO)
- under 0.5 s
- Monthly cost
- under 40 USD/mo
- Edit limit
- 4
- Traffic
- 100 req/s
Concepts
How players did
Player results load from the server.