Probabilistically bounded staleness for practical partial quorums
The DOI matches its Crossref record; 33 of the 33 references it cites were found in a registry or an index.
Abstract
Data store replication results in a fundamental trade-off between operation latency and data consistency. In this paper, we examine this trade-off in the context of quorum-replicated data stores. Under partial, or non-strict quorum replication, a data store waits for responses from a subset of replicas before answering a query, without guaranteeing that read and write replica sets intersect. As deployed in practice, these configurations provide only basic eventual consistency guarantees, with no limit to the recency of data returned. However, anecdotally, partial quorums are often "good enough" for practitioners given their latency benefits. In this work, we explain why partial quorums are regularly acceptable in practice, analyzing both the staleness of data they return and the latency benefits they offer. We introduce Probabilistically Bounded Staleness (PBS) consistency, which provides expected bounds on staleness with respect to both versions and wall clock time. We derive a closed-form solution for versioned staleness as well as model real-time staleness for representative Dynamo-style systems under internet-scale production workloads. Using PBS, we measure the latency-consistency trade-off for partial quorum systems. We quantitatively demonstrate how eventually consistent systems frequently return consistent data within tens of milliseconds while offering significant latency benefits.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Time, clocks, and the ordering of events in a distributed system
Lamport, L. (1978) · Communications of the ACM · doi:10.1145/359545.359563 · Cited by 8,488
(2007) · doi:10.1145/1294261.1294281 · Cited by 3,447 · cited 7×
“Read repair is a commonly used process: when a read coordinator receives multiple versions of a data item from different replicas in response to a read request, it will attempt to (asynchronously) update the out-of-date replicas with the most recent version [20, Section 5].”
InfluentialLinearizability: a correctness condition for concurrent objects
Herlihy, M. P., & Wing, J. M. (1990) · ACM Transactions on Programming Languages and Systems · doi:10.1145/78969.78972 · Cited by 3,176 · cited 1×
“Data consistency is a long-studied problem in distributed systems [18] and concurrent programming [35].”
Lamport, L. (1998) · ACM Transactions on Computer Systems · doi:10.1145/279227.279229 · Cited by 2,737 · cited 1×
“Thankfully, establishing a total ordering among distributed agents is a well-known problem that a Dynamo-style system can solve by using a centralized service [36] or using distributed consensus [43].”
Cassandra: a decentralized structured storage system
Lakshman, A., & Malik, P. (2010) · ACM SIGOPS Operating Systems Review · doi:10.1145/1773912.1773922 · Cited by 2,664 · cited 2×
“…sizes R and W, partial quorums imply R + W ≤ N . its Quorum-replicated data stores such as Dynamo [20] and open source descendants Apache Cassandra [41], Basho Riak [3], and Project Voldemort [24] offer a choice between two modes of operation: strict quorums with strong consistency or partial…”
ZooKeeper: wait-free coordination for internet-scale systems
Hunt, P. G., Konar, M., Junqueira, F., & Reed, B. C. (2010) · USENIX Annual Technical Conference · Cited by 1,968
Brewer's conjecture and the feasibility of consistent, available, partition-tolerant web services
Gilbert, S., & Lynch, N. (2002) · ACM SIGACT News · doi:10.1145/564585.564601 · Cited by 1,727 · cited 1×
“Given the CAP Theorem and the inability to maintain all three of consistency, availability, and partition tolerance [27], data stores have turned to “even-tually consistent” semantics to provide availability in the face of partitions [18, 61].”
Epidemic algorithms for replicated database maintenance
Demers, A., Greene, D., Hauser, C., Irish, W., & Larson, J. (1987) · Proceedings of the sixth annual ACM Symposium on Principles of distributed computing - PODC '87 · doi:10.1145/41840.41841 · Cited by 1,673
Weighted voting for replicated data
Gifford, D. K. (1979) · Proceedings of the seventh symposium on Operating systems principles - SOSP '79 · doi:10.1145/800215.806583 · Cited by 1,323 · cited 2×
“Systems designers have long proposed quorum systems as a replication strategy for distributed data [26].”
The dangers of replication and a solution
Gray, J., Helland, P., O'Neil, P., & Shasha, D. (1996) · Proceedings of the 1996 ACM SIGMOD international conference on Management of data - SIGMOD '96 · doi:10.1145/233269.233330 · Cited by 1,019 · cited 1×
“Data consistency is a long-studied problem in distributed systems [19, 28] and concurrent programming [35].”
BackgroundVogels, W. (2009) · Communications of the ACM · doi:10.1145/1435417.1435432 · Cited by 1,013 · cited 4×
“We have focused on bounded staleness analysis, but there are other (often stronger) forms of consistency (such as causal consistency) [61].”
InfluentialDon't settle for eventual: scalable causal consistency for wide-area storage with COPS
Lloyd, W., Freedman, M. J., Kaminsky, M., & Andersen, D. G. (2011) · Proceedings of the Twenty-Third ACM Symposium on Operating Systems Principles · doi:10.1145/2043556.2043593 · Cited by 565 · cited 2×
“Despite eventual consistency’s weak guarantees, operators frequently employ partial quorums [1, 4, 23, 38, 55, 64]—a controversial decision [32, 46, 57, 58].”
Consistency in a partitioned network: a survey
Davidson, S. B., Garcia-Molina, H., & Skeen, D. (1985) · ACM Computing Surveys · doi:10.1145/5505.5508 · Cited by 550
Consistency Tradeoffs in Modern Distributed Database System Design: CAP is Only Part of the Story
Abadi, D. J. (2012) · Computer · doi:10.1109/mc.2012.33 · Cited by 471
Session guarantees for weakly consistent replicated data
Terry, D., Demers, A. J., Petersen, K., Spreitzer, M., Theimer, M. M., & Welch, B. B. (2002) · International Conference on Parallel and Distributed Information Systems · doi:10.1109/pdis.1994.331722 · Cited by 430
Transactional storage for geo-replicated systems
Sovran, Y., Power, R., Aguilera, M. K., & Li, J. (2011) · Proceedings of the Twenty-Third ACM Symposium on Operating Systems Principles · doi:10.1145/2043556.2043592 · Cited by 390 · cited 2×
“Despite eventual consistency’s weak guarantees, operators frequently employ partial quorums [1, 4, 23, 38, 55, 64]—a controversial decision [32, 46, 57, 58].”
Design and evaluation of a conit-based continuous consistency model for replicated services
Yu, H., & Vahdat, A. (2002) · ACM Transactions on Computer Systems · doi:10.1145/566340.566342 · Cited by 289 · cited 3×
“…of experiencing a combination of the two ( k, t -staleness). h i PBS does not propose new mechanisms to enforce deterministic staleness bounds [40, 54, 65, 66, 67]; instead, our goal is to provide a lens for analyzing, improving, and predicting the behavior of existing , widely deployed systems.”
Consistency Analysis in Bloom: a CALM and Collected Approach
Alvaro, P., Conway, N., Hellerstein, J. M., & Marczak, W. R. (2011) · Conference on Innovative Data Systems Research · Cited by 243
Self-citationCassandra: structured storage system on a P2P network
Lakshman, A., & Malik, P. (2009) · Proceedings of the 28th ACM symposium on Principles of distributed computing · doi:10.1145/1582716.1582722 · Cited by 231
Toward a cloud computing research agenda
Birman, K., Chockler, G., & van Renesse, R. (2009) · ACM SIGACT News · doi:10.1145/1556154.1556172 · Cited by 186 · cited 1×
“Third, as in much of the applied literature, practitioners focus on fail-stop instead of Byzantine failure modes [17].”
Optimism and consistency in partitioned distributed database systems
Davidson, S. B. (1984) · ACM Transactions on Database Systems · doi:10.1145/1270.1499 · Cited by 163 · cited 1×
“Data consistency is a long-studied problem in distributed systems [19, 28] and concurrent programming [35].”
BackgroundWada, H., Fekete, A. D., Zhao, L., Lee, K., & Liu, A. (2011) · Cited by 149
Dynamic quorum adjustment for partitioned data
Herlihy, M. P. (1987) · ACM Transactions on Database Systems · doi:10.1145/22952.22953 · Cited by 135 · cited 2×
“We surveyed quorum replication techniques [7, 9, 8, 10, 11, 26, 29, 34, 37, 49, 51, 52] in Section 2.”
Eventual consistency: How soon is eventual? An evaluation of Amazon S3's consistency behavior
Bermbach, D., & Tai, S. (2011) · Middleware for Service Oriented Computing · doi:10.1145/2093185.2093186 · Cited by 118 · cited 2×
“The current state of the art requires that users make rough guesses or perform online profiling to determine the consistency provided by their data stores [16, 28, 62].”
Analyzing consistency properties for fun and profit
Golab, W., Li, X., & Shah, M. A. (2011) · ACM Symposium on Principles of Distributed Computing (PODC) · doi:10.1145/1993806.1993834 · Cited by 98 · cited 3×
“The current state of the art requires that users make rough guesses or perform online profiling to determine the consistency provided by their data stores [16, 28, 62].”
Practical uses of synchronized clocks in distributed systems
Liskov, B. H. (1991) · ACM Symposium on Principles of Distributed Computing (PODC) · doi:10.1145/112600.112601 · Cited by 86
Tolerating latency in replicated state machines through client speculation
Wester, B., Cowling, J. A., Nightingale, E. B., Chen, P. M., Flinn, J., & Liskov, B. H. (2009) · Networked Systems Design and Implementation · Cited by 78
The costs and limits of availability for replicated services
Yu, H., & Vahdat, A. M. (2006) · ACM Transactions on Computer Systems · doi:10.1145/1124153.1124156 · Cited by 77
PIQL: success-tolerant query processing in the cloud
Armbrust, M., Curtis, K., Kraska, T., Fox, A., Franklin, M. J. M., & Patterson, D. A. (2011) · Proceedings of the VLDB Endowment · doi:10.14778/2078331.2078334 · Cited by 64
Self-citationBuilding on QuicksandPreprint
Helland, P., & Campbell, D. G. (2009) · arXiv (Cornell University) · doi:10.48550/arxiv.0909.1788 · Cited by 51 · cited 2×
“Programs can often tolerate weak consistency by employing careful design patterns such as compensation (e.g., memories, guesses, and apologies) [33] and by using associative and commutative operations (e.g., timelines, logs, and notifications) [12].”
Probabilistic quorums for dynamic systems
Abraham, I., & Malkhi, D. (2005) · Distributed Computing · doi:10.1007/s00446-005-0139-2 · Cited by 39
Selected Results from the Latest Decade of Quorum Systems Research
Merideth, M. G., & Reiter, M. K. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-11294-2_10 · Cited by 17 · cited 3×
“In this paper, we answer these questions by expanding prior work on probabilistic quorums [49, 51] to account for multi-version staleness and message dissemination protocols as used in today’s systems.”
Noble, B. D., Fleis, B., & Kim, M. (1999) · Cited by 16
Cited by
Logically centralized?: state distribution trade-offs in software defined networks
Levin, D., Wundsam, A., Heller, B., Handigol, N., & Feldmann, A. (2012) · Proceedings of the first workshop on Hot topics in software defined networks · doi:10.1145/2342441.2342443 · Cited by 298
Metadata
- Authors
- Bailis, P., Venkataraman, S., Franklin, M. J., Hellerstein, J. M., & Stoica, I.
- Venue
- Proceedings of the VLDB Endowment
- Published
- 2012-04
- Volume
- 5
- Issue
- 8
- Pages
- 776-787
- ISSN
- 2150-8097 (ISSN-L)
- OpenAlex
- W2121053357
- Cited by
- 185
- References
- 33
- FWCI
- 33.76
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.