In this lesson · topic 7 of 7
Topic 7
Check the quorum arithmetic
4 min read
Predict first
Predict first
Predict first
Take away
- A write waits for W replicas and a read for R. If R plus W exceeds N, every read set overlaps every acknowledged write set.
- Latency is the k-th fastest reply, and availability is the chance that at least k replicas are reachable.
- Sloppy quorums and read repair trade freshness and effort for availability. A quorum is not a global order.
Sources
- David Gifford, Weighted Voting for Replicated Data, ACM SOSP, 1979.
- Giuseppe DeCandia and colleagues, Dynamo: Amazon’s Highly Available Key-value Store, ACM SOSP, 2007.
- Peter Bailis, Shivaram Venkataraman, Michael Franklin, Joseph Hellerstein, and Ion Stoica, Probabilistically Bounded Staleness for Practical Partial Quorums, VLDB, 2012.
- Avinash Lakshman and Prashant Malik, Cassandra: A Decentralized Structured Storage System, ACM SIGOPS Operating Systems Review, 2010.
- Martin Kleppmann, Designing Data-Intensive Applications, O’Reilly, 2017. Chapter 5 covers leaderless replication.