notesonly.in

One notebook for every subject — open it anywhere.

Log in

Consensus algorithms: Paxos, Raft basics

Distributed Systems · Engineering

Study notes

3 nodes elect leader: Raft votes, majority (2) wins. Leader replicates log entries; commits when majority ack. If leader dies, new election. This keeps databases consistent across crashes. Paxos is classic but complex; Raft designed understandable.

← Back to topics for Engineering