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

被引:19
|
作者
Rahman, Muntasir Raihan [1 ]
Tseng, Lewis [1 ]
Nguyen, Son [1 ]
Gupta, Indranil [1 ]
Vaidya, Nitin [2 ]
机构
[1] Univ Illinois, Dept Comp Sci, Urbana, IL 61801 USA
[2] Univ Illinois, Dept Elect & Comp Engn, Urbana, IL 61801 USA
基金
美国国家科学基金会;
关键词
Consistency; adaptivity; distributed storage; PROBABILISTIC QUORUMS; LINEARIZABILITY;
D O I
10.1145/2997654
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页数:36
相关论文
共 50 条
  • [1] Consistent Low Latency Scheduler for Distributed Key-Value Stores
    Jiang, Wanchun
    Li, Haoyang
    Yan, Yulong
    Ji, Fa
    Huang, Jiawei
    Wang, Jianxin
    Zhang, Tong
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2023, 34 (12) : 3012 - 3027
  • [2] Quantitative Analysis of Consistency in NoSQL Key-Value Stores
    Liu, Si
    Nguyen, Son
    Ganhotra, Jatin
    Rahman, Muntasir Raihan
    Gupta, Indranil
    Meseguer, Jose
    [J]. QUANTITATIVE EVALUATION OF SYSTEMS, 2015, 9259 : 228 - 243
  • [3] A scheduling framework for distributed key-value stores and its application to tail latency minimization
    Ben Mokhtar, Sonia
    Canon, Louis-Claude
    Dugois, Anthony
    Marchal, Loris
    Riviere, Etienne
    [J]. JOURNAL OF SCHEDULING, 2024, 27 (02) : 183 - 202
  • [4] On the Support of Versioning in Distributed Key-Value Stores
    Felber, Pascal
    Pasin, Marcelo
    Riviere, Etienne
    Schiavoni, Valerio
    Sutra, Pierre
    Coelho, Fabio
    Oliveira, Rui
    Matos, Miguel
    Vilaca, Ricardo
    [J]. 2014 IEEE 33RD INTERNATIONAL SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS (SRDS), 2014, : 95 - 104
  • [5] A scheduling framework for distributed key-value stores and its application to tail latency minimization
    Sonia Ben Mokhtar
    Louis-Claude Canon
    Anthony Dugois
    Loris Marchal
    Etienne Rivière
    [J]. Journal of Scheduling, 2024, 27 : 183 - 202
  • [6] Taming Tail Latency in Key-Value Stores: A Scheduling Perspective
    Ben Mokhtar, Sonia
    Canon, Louis-Claude
    Dugois, Anthony
    Marchal, Loris
    Riviere, Etienne
    [J]. EURO-PAR 2021: PARALLEL PROCESSING, 2021, 12820 : 136 - 150
  • [7] Chisel: Reshaping Queries to Trim Latency in Key-Value Stores
    Birke, Robert
    Perez, Juan E.
    Ben Mokhtar, Sonia
    Rameshan, Navaneeth
    Chen, Lydia Y.
    [J]. 2019 IEEE INTERNATIONAL CONFERENCE ON AUTONOMIC COMPUTING (ICAC 2019), 2019, : 42 - 51
  • [8] NetRS: Cutting Response Latency in Distributed Key-Value Stores with In-Network Replica Selection
    Su, Yi
    Feng, Dan
    Hua, Yu
    Shi, Zhan
    Zhu, Tingwei
    [J]. 2018 IEEE 38TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS (ICDCS), 2018, : 143 - 153
  • [9] On Improving Latency of Geographically Distributed Key-Value Stores via Load Balancing with Side Information
    Kubo, Hiroyuki
    Kozat, Ulas C.
    [J]. 2013 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC), 2013, : 3710 - 3715
  • [10] Enabling Low Tail Latency on Multicore Key-Value Stores
    Lersch, Lucas
    Schreter, Ivan
    Oukid, Ismail
    Lehner, Wolfgang
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2020, 13 (07): : 1091 - 1104