Affiliation:
1. University of Illinois at Urbana-Champaign, Urbana, IL
Abstract
The CAP theorem is a fundamental result that applies to distributed storage systems. In this article, we first present and prove two CAP-like impossibility theorems. To state these theorems, we present probabilistic models to characterize the three important elements of the CAP theorem: consistency (C), availability or latency (A), and partition tolerance (P). The theorems show the un-achievable envelope, that is, which combinations of the parameters of the three models make them impossible to achieve together. Next, we present the design of a class of systems called Probabilistic CAP (PCAP) that perform close to the envelope described by our theorems. In addition, these systems allow applications running on a single data center to specify either a latency Service Level Agreement (SLA) or a consistency SLA. The PCAP systems automatically adapt, in real time and under changing network conditions, to meet the SLA while optimizing the other C/A metric. We incorporate PCAP into two popular key-value stores: Apache Cassandra and Riak. Our experiments with these two deployments, under realistic workloads, reveal that the PCAP systems satisfactorily meets SLAs and perform close to the achievable envelope. We also extend PCAP from a single data center to multiple geo-distributed data centers.
Funder
Yahoo!
AFOSR/AFRL
Microsoft
NSF
VMware Graduate Fellowship
Publisher
Association for Computing Machinery (ACM)
Subject
Software,Computer Science (miscellaneous),Control and Systems Engineering
Reference65 articles.
1. Consistency Tradeoffs in Modern Distributed Database System Design: CAP is Only Part of the Story
2. Probabilistic quorums for dynamic systems
3. K. J. Astrom and T. Hagglund. 1995. PID Controllers: Theory Design and Tuning 2nd Ed. The Instrument Systems and Automation Society Research Triangle Park NC. K. J. Astrom and T. Hagglund. 1995. PID Controllers: Theory Design and Tuning 2nd Ed. The Instrument Systems and Automation Society Research Triangle Park NC.
4. Sequential consistency versus linearizability
Cited by
21 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Minimizing the cost of periodically replicated systems via model and quantitative analysis;Frontiers of Computer Science;2023-12-16
2. Consistency vs. Availability in Distributed Cyber-Physical Systems;ACM Transactions on Embedded Computing Systems;2023-09-09
3. Distributed Data Persistency;MICRO-54: 54th Annual IEEE/ACM International Symposium on Microarchitecture;2021-10-17
4. Capacity analysis of public blockchain;Computer Communications;2021-09
5. Consistency Analysis of Replication-Based Probabilistic Key-Value Stores;ICC 2021 - IEEE International Conference on Communications;2021-06