Quantifying and Generalizing the CAP Theorem
Edward A. Lee, Soroush Bateni, Shaokai Lin, Marten Lohstroh, Christian, Menard

TL;DR
This paper introduces the CAL theorem, a quantitative extension of the CAP theorem, relating inconsistency, unavailability, and network latency, and presents coordination mechanisms supporting customizable tradeoffs.
Contribution
It formalizes the CAL theorem, replacing the binary CAP with a numerical latency measure, and implements coordination strategies for adjustable consistency and availability.
Findings
CAL theorem generalizes CAP with a quantitative relation.
Distributed coordination mechanisms support tradeoffs based on latency.
Extensions of existing techniques enable bounded inconsistency or unavailability.
Abstract
In distributed applications, Brewer's CAP theorem tells us that when networks become partitioned, there is a tradeoff between consistency and availability. Consistency is agreement on the values of shared variables across a system, and availability is the ability to respond to reads and writes accessing those shared variables. We quantify these concepts, giving numerical values to inconsistency and unavailability. Recognizing that network partitioning is not an all-or-nothing proposition, we replace the P in CAP with L, a numerical measure of apparent latency, and derive the CAL theorem, an algebraic relation between inconsistency, unavailability, and apparent latency. This relation shows that if latency becomes unbounded (e.g., the network becomes partitioned), then one of inconsistency and unavailability must also become unbounded, and hence the CAP theorem is a special case of the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Simulation Techniques and Applications · Distributed and Parallel Computing Systems
