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 条
  • [1] 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
  • [2] TailX: Scheduling Heterogeneous Multiget Queries to Improve Tail Latencies in Key-Value Stores
    Jaiman, Vikas
    Ben Mokhtar, Sonia
    Riviere, Etienne
    [J]. DISTRIBUTED APPLICATIONS AND INTEROPERABLE SYSTEMS, DAIS 2020, 2020, 12135 : 73 - 92
  • [3] AMS: Adaptive Multiget Scheduling Algorithm for Distributed Key-Value Stores
    Jiang, Wanchun
    Qiu, Yujia
    Ji, Fa
    Zhang, Yongjia
    Zhou, Xiangqian
    Wang, Jianxin
    [J]. IEEE TRANSACTIONS ON CLOUD COMPUTING, 2023, 11 (03) : 2591 - 2602
  • [4] 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
  • [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] 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
  • [7] Heron: Taming Tail Latencies in Key-Value Stores under Heterogeneous Workloads
    Jaiman, Vikas
    Ben Mokhtar, Sonia
    Quema, Vivien
    Chen, Lydia Y.
    Rivieve, Etienne
    [J]. 2018 IEEE 37TH INTERNATIONAL SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS (SRDS), 2018, : 191 - 200
  • [8] 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
  • [9] 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
  • [10] 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