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.