Adaptive trade-off between consistency and performance in data replication

被引:4
|
作者
Sun, Hailong [1 ]
Xiao, Bang [1 ]
Wang, Xu [1 ]
Liu, Xudong [1 ]
机构
[1] Beihang Univ, Sch Comp Sci & Engn, Beijing, Peoples R China
来源
SOFTWARE-PRACTICE & EXPERIENCE | 2017年 / 47卷 / 06期
基金
中国国家自然科学基金;
关键词
distributed systems; data replication; consistency; Paxos; data management; BROADCAST; TIME;
D O I
10.1002/spe.2462
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Replication is widely adopted in modern Internet applications and distributed systems to improve the reliability and performance. Though maintaining the strong consistency among replicas can guarantee the correctness of application behaviors, however, it will affect the application performance at the same time because there is a well-known trade-off between consistency and performance. Many real-world applications favoring performance often choose to enforce weak consistency. Although there has been some work on flexible configuration of consistency, most focuses on design or deployment time. As the system settings constantly change during runtime, the tuning of the consistency-performance trade-off needs to be handled dynamically. Failing to do that will cause either underestimation or overestimation of the consistency and performance that can be achieved. Existing work does not well support the dynamic tuning of the aforementioned trade-off in runtime, which is mainly because of the lack of an appropriate quantitative model of consistency and performance. In this work, based on our previous effort on the quantitative model of consistency and latency, we design a replication protocol, CC-Paxos, to achieve an adaptive trade-off between consistency and performance according to application preferences and runtime information. By design, CC-Paxos is not bound to any specific underlying data stores. We have implemented CC-Paxos and applied it to MySQL databases. And real experiments both within a data center and across data centers show that CC-Paxos not only can dynamically adjust the delivered consistency in return for ensured performance but also outperforms MySQL Cluster in the case of strong consistency guarantee. Copyright (C) 2016 John Wiley & Sons, Ltd.
引用
收藏
页码:891 / 906
页数:16
相关论文
共 50 条
  • [41] Is there a trade-off between employment and growth?
    Eriksson, C
    OXFORD ECONOMIC PAPERS-NEW SERIES, 1997, 49 (01): : 77 - 88
  • [42] Trade-off between quality and cost
    Huang, YF
    QUALITY & QUANTITY, 2001, 35 (03) : 265 - 276
  • [43] Vaccination as a trade-off between risks
    David Crainich
    Louis Eeckhoudt
    Mario Menegatti
    Italian Economic Journal, 2019, 5 : 455 - 472
  • [44] THE TRADE-OFF BETWEEN EQUALITY AND EFFICIENCY
    BROWNING, EK
    JOHNSON, WR
    JOURNAL OF POLITICAL ECONOMY, 1984, 92 (02) : 175 - 203
  • [45] Trade-off between Quality and Cost
    Ying-Fang Huang
    Quality and Quantity, 2001, 35 : 265 - 276
  • [46] Vaccination as a trade-off between risks
    Crainich, David
    Eeckhoudt, Louis
    Menegatti, Mario
    ITALIAN ECONOMIC JOURNAL, 2019, 5 (03) : 455 - 472
  • [47] Data-Centric Perspective on Explainability Versus Performance Trade-Off
    Berenji, Amirhossein
    Nowaczyk, Slawomir
    Taghiyarrenani, Zahra
    ADVANCES IN INTELLIGENT DATA ANALYSIS XXI, IDA 2023, 2023, 13876 : 42 - 54
  • [48] Adaptive Masking: a Dynamic Trade-off between Energy Consumption and Hardware Security
    Montoya, Maxime
    Hiscock, Thomas
    Bacles-Min, Simone
    Molnos, Anca
    Fournier, Jacques J. A.
    2019 IEEE 37TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD 2019), 2019, : 559 - 566
  • [49] Privacy and Personalization: The Trade-off between Data Disclosure and Personalization Benefit
    Wadle, Lisa-Marie
    Martin, Noemi
    Ziegler, Daniel
    ADJUNCT PUBLICATION OF THE 27TH CONFERENCE ON USER MODELING, ADAPTATION AND PERSONALIZATION (ACM UMAP '19 ADJUNCT), 2019, : 319 - 324
  • [50] Exploring the trade-off between performance and annotation complexity in semantic segmentation
    Fernandez-Moreno, Marta
    Lei, Bo
    Holm, Elizabeth A.
    Mesejo, Pablo
    Moreno, Raul
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2023, 123