Wiki: Consensus: Quorum, Minority Quorum, Administered Quorum, and Beyond
For agents: Markdown version · Wiki index · Explore
- Speaker: Shlomi Noach
- Event: Reversim Summit 2025
- Video: https://www.youtube.com/watch?v=DWC1tqvPNJQ
- Transcript: /transcripts/2025/02-DWC1tqvPNJQ.md
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: Distributed Systems, Databases, Scalability
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
The speaker explores the logic of consensus systems by taking the audience through a series of conceptual mutations starting from traditional Paxos and moving towards minority and administered quorums. The talk demonstrates how splitting consensus into separate write and leader election quorums can optimize performance and reduce write latency. The audience learns that common database high-availability setups like MySQL semi-sync and PostgreSQL synchronous replication are actually forms of consensus systems. Ultimately, the session challenges conventional distributed systems design by decoupling management and quorum sizes from cluster scale.
Key points
- 2:20 Basic consensus systems like Paxos ensure that a write operation is acknowledged by a majority of servers before confirming success.
- 6:26 Traditional Paxos does not scale well because every write requires a two-step ping-pong process across nodes and suffers from potential write conflicts.
- 7:30 Multi-Paxos solves scalability issues by splitting the consensus mechanism into two separate mechanisms: leader election and write execution.
- 13:59 Using inspiration from Apache Cassandra, the speaker introduces minority write quorums combined with a large majority required for leader election.
- 21:54 The speaker proposes outsourcing the leader election mechanism from the algorithm entirely and placing it into the hands of human operators.
- 25:01 By decoupling the leader election quorum size from the overall cluster size, systems can maintain small, fixed on-call teams regardless of scale.
- 26:02 Standard database setups like MySQL semi-sync and PostgreSQL synchronous replication function logically as distributed consensus systems with different trade-offs.
Takeaways
- Understand the architectural difference between write quorums and leader election quorums in distributed databases.
- Recognize how minority write quorums can improve write latency while maintaining correctness guarantees.
- View common database high-availability configurations as practical implementations of consensus systems.
Questions this talk answers
- How does splitting a consensus system into write quorums and leader election quorums affect performance?
- Can a distributed database operate safely using a minority write quorum?
- Why are database high-availability setups like MySQL semi-sync considered consensus systems?
Technologies
MySQL, PostgreSQL, Apache Cassandra, Consul, Vitess
Tags
consensus, databases, distributed systems, high availability, paxos, replication