Distributed Systems
CS3.401Prof. Kishore Kothapalli•Monsoon 2025-26•4 credits
Unit 9 — Raft Consensus
Raft solves the replicated state machine problem under crash failures (not Byzantine). Decomposed into three sub-problems: Leader Election (randomised timeouts, terms), Log Replication (AppendEntries + majority commit), and Safety (election restriction — only most-up-to-date logs can be elected). Production-grade — backs etcd, Consul, CockroachDB.