The one question
How do you keep the same log of commands on several servers while some crash, with an algorithm engineers can actually understand?
Consensus means getting several servers to agree on the same values in the same order, even when some fail.
The five Cs
- Category
- A new algorithm, plus a 43-student study arguing it is easier to learn than Paxos.
- Context
- A response to Paxos, the standard but famously hard algorithm. Close relatives: Viewstamped Replication and ZooKeeper's Zab.
- Correctness
- Servers crash and come back with what they saved to disk (term, vote and log), and never lie; messages may be lost or late. Safety never depends on timing; progress needs a working majority.
- Contributions
- One elected leader; consensus split into leader election, log replication and safety; membership changes without downtime.
- Clarity
- Very readable until section 5.4, where Figure 8 shows a subtle trap. Take that part slowly.