Characterizing and Adapting the Consistency-Latency Tradeoff in Distributed Key-Value Stores

Author:

Rahman Muntasir Raihan1,Tseng Lewis1,Nguyen Son1,Gupta Indranil1,Vaidya Nitin1

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

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3