System Design ConceptsConsensus & CoordinationConsensus & CoordinationTwo-Phase Commit (2PC)Atomic commit protocol, prepare/commit phases, blocking failure mode, and coordinator recoveryRaft ConsensusLeader election, log replication, safety guarantees, snapshots, and real-world systems