Level 3: Distributed systems · L3.1 Time, clocks, consensus & leader election
Raft: leader election and log replication
Walk through a Raft election and a committed log entry.
15 min · Pro
What you take away
- Raft splits consensus into three problems: electing a leader, replicating a log, and the safety rules that make both correct.
And 3 more inside the class, in Pro.
How the class is laid out
- The problem
- The simple version
- Electing a leader
- Replicating the log
- What you actually use it for
- Check your understanding