Saral Shiksha Yojna
Courses/Distributed Systems

Distributed Systems

CS3.401
Prof. Kishore KothapalliMonsoon 2025-264 credits
Revision Notes/Unit 9 — Raft Consensus

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.