Just-Right Consistency: reconciling availability and safety
Marc Shapiro (1), Annette Bieniusa, Nuno Pregui\c{c}a (2), Valter, Balegas (2), Christopher Meiklejohn (3) ((1) DELYS, (2) NOVA-LINCS, (3) UCL)

TL;DR
This paper introduces a principled approach called Just-Right Consistency that balances availability and correctness in distributed systems by using CRDTs, transactional causal consistency, and static analysis, demonstrated in a scalable cloud database.
Contribution
It proposes a novel consistency model that combines CRDTs, transactional causal consistency, and static analysis to optimize availability without sacrificing correctness.
Findings
Supports CRDTs and transactional causal consistency in a cloud database
Provides a static analysis tool for CAP-sensitive invariants
Successfully tested across hundreds of geo-distributed servers
Abstract
By the CAP Theorem, a distributed data storage system can ensure either Consistency under Partition (CP) or Availability under Partition (AP), but not both. This has led to a split between CP databases, in which updates are synchronous, and AP databases, where they are asynchronous. However, there is no inherent reason to treat all updates identically: simply, the system should be as available as possible, and synchronised just enough for the application to be correct. We offer a principled Just-Right Consistency approach to designing such applications, reconciling correctness with availability and performance, based on the following insights:(i) The Conflict-Free Replicated Data Type (CRDTs) data model supports asynchronous updates in an intuitive and principled way.(ii) Invariants involving joint or mutually-ordered updates are compatible with AP and can be guaranteed by Transactional…
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 · Cloud Computing and Resource Management · Advanced Data Storage Technologies
