Ch. 9
Distributed Transactions and Consensus
Consensus protocols let nodes agree on a value despite failures — powering distributed transactions.
Getting multiple nodes to agree on a single value — who is leader, whether to commit, what the next log entry is — is the consensus problem. Algorithms like Raft make this practical for production systems.
consensusRaftetcdKafkatwo-phase commitZooKeeper