Part 1 of 6 · 1 min read
Why this page comes after elections and consistency
In this module you will
- State the consensus problem and its four properties.
- Explain why consensus sounds easy, is hard, and still works in practice.
- Walk through how a Raft-style leader replicates a log and why a majority is enough.
- Explain why the voting for a leader and the voting on a decision need overlapping majorities.
- Say what ZooKeeper and etcd are used for, and when not to reach for consensus.
Module 5 chose a leader. Module 6 said linearizable systems need agreement on one order. Both rest on the same hard problem: getting several machines to agree even though some may crash and messages may be delayed (module 4). The books used are "Designing Data-Intensive Applications" and "Understanding Distributed Systems". The numbers are made up to show the idea, unless the text names a book.