tags : Two Phase Locking (2PL) & Two Phase Commit (2PC), Distributed Systems, Concurrency Consistency Models, Data Replication, Eventual Consistency, Zookeeper
![](/ox-hugo/20231118205116-consensus_protocols-1001622362.png)
âmaking sure participants come to the same conclusion about something and nobody has the wrong answerâ
FAQ
Partial Quorum
Approaches
Paxos
Variants
- Replicated State Machine (RSM)
- chain replication type advanced atomic storage protocols
Raft
See Raft
Viewstamped Replication Protocol
VR vs Raft
- Viewstamped Replication relies on Message Passing, while RAFT relies on RPC
- âVSR is also described in terms of message passing, whereas Raft took VSRâs original message passing and coupled it to RPCâshutting out things like multipath routing and leaving the logical networking protocol misaligned to the underlying physical network fault model.â - Joran
- Comparing the 2012 VSR and 2014 Raft papers, they are remarkably similar.
- VSR better in prod than raft (opinion)
- Itâs all the little things. All the quality, clear thinking and crisp terminology coming from Liskov, Oki and Cowling.
- Okiâs VSR was literally the first to pioneer consensus in â88, so itâs well aged, and the â12 revision again by Liskov and Cowling is a great vintage!