Rein: Taming Tail Latency in Key-Value Stores via Multiget Scheduling

被引:30
|
作者
Reda, Waleed [1 ,4 ]
Canini, Marco [2 ]
Suresh, Lalith [3 ]
Kostic, Dejan [4 ]
Braithwaite, Sean [5 ]
机构
[1] Catholic Univ Louvain, Louvain, Belgium
[2] KAUST, Thuwal, Saudi Arabia
[3] VMware Res, Sunnyvale, CA USA
[4] KTH Royal Inst Technol, Stockholm, Sweden
[5] SoundCloud, Stockholm, Sweden
关键词
QUEUES; POWER;
D O I
10.1145/3064176.3064209
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We tackle the problem of reducing tail latencies in distributed key-value stores, such as the popular Cassandra database. We focus on workloads of multiget requests, which batch together access to several data elements and parallelize read operations across the data store machines. We first analyze a production trace of a real system and quantify the skew due to multiget sizes, key popularity, and other factors. We then proceed to identify opportunities for reduction of tail latencies by recognizing the composition of aggregate requests and by carefully scheduling bottleneck operations that can otherwise create excessive queues. We design and implement a system called Rein, which reduces latency via inter-multiget scheduling using low overhead techniques. We extensively evaluate Rein via experiments in Amazon Web Services (AWS) and simulations. Our scheduling algorithms reduce the median, 95th, and 99th percentile latencies by factors of 1.5, 1.5, and 1.9, respectively.
引用
收藏
页码:95 / 110
页数:16
相关论文
共 50 条
  • [31] Optimization of LSM-Tree for Key-Value Stores
    Wu, Shangyu
    Xie, Jingwen
    Wang, Yi
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2020, 57 (11): : 2432 - 2441
  • [32] Evaluation of Key-Value Stores for Distributed Locking Purposes
    Grzesik, Piotr
    Mrozek, Dariusz
    [J]. BEYOND DATABASES, ARCHITECTURES AND STRUCTURES (BDAS): PAVING THE ROAD TO SMART DATA PROCESSING AND ANALYSIS, 2019, 1018 : 70 - 81
  • [33] FloDB: Unlocking Memory in Persistent Key-Value Stores
    Balmau, Oana
    Guerraoui, Rachid
    Trigonakis, Vasileios
    Zablotchi, Igor
    [J]. PROCEEDINGS OF THE TWELFTH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS (EUROSYS 2017), 2017, : 80 - 94
  • [34] Interval Indexing and Querying on Key-Value Cloud Stores
    Sfakianakis, George
    Patlakas, Ioannis
    Ntarmos, Nikos
    Triantafillou, Peter
    [J]. 2013 IEEE 29TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2013, : 805 - 816
  • [35] 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
  • [36] Conversion cost and specification on interfaces of key-value stores
    Song, Jie
    Guo, Kun
    Wang, Jieping
    Li, Haibo
    Bao, Yubin
    Yu, Ge
    [J]. COMPUTER STANDARDS & INTERFACES, 2016, 47 : 42 - 51
  • [37] Private Search on Key-Value Stores with Hierarchical Indexes
    Hu, Haibo
    Xu, Jianliang
    Xu, Xizhong
    Pei, Kexin
    Choi, Byron
    Zhou, Shuigeng
    [J]. 2014 IEEE 30TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2014, : 628 - 639
  • [38] Customizable Scale-Out Key-Value Stores
    Anwar, Ali
    Cheng, Yue
    Huang, Hai
    Han, Jingoo
    Sim, Hyogi
    Lee, Dongyoon
    Douglis, Fred
    Butt, Ali R.
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2020, 31 (09) : 2081 - 2096
  • [39] Exploiting key-value data stores scalability for HPC
    Cugnasco, Cesare
    Becerra, Yolanda
    Torres, Jordi
    Ayguade, Eduard
    [J]. 2017 46TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING WORKSHOPS (ICPPW), 2017, : 85 - 94
  • [40] Coupling Decentralized Key-Value Stores with Erasure Coding
    Cheng, Liangfeng
    Hu, Yuchong
    Lee, Patrick P. C.
    [J]. PROCEEDINGS OF THE 2019 TENTH ACM SYMPOSIUM ON CLOUD COMPUTING (SOCC '19), 2019, : 377 - 389