Parallax: Hybrid Key-Value Placement in LSM-based Key-Value Stores

被引:11
|
作者
Xanthakis, Giorgos [1 ,2 ]
Saloustros, Giorgos [1 ]
Batsaras, Nikos [1 ,2 ]
Papagiannis, Anastasios [1 ,2 ,3 ]
Bilas, Angelos [1 ,2 ]
机构
[1] Fdn Res & Technol Hellas FORTH, Inst Comp Sci ICS, Iraklion, Greece
[2] Univ Crete, Dept Comp Sci, Rethimnon, Greece
[3] Facebook, London, England
基金
欧盟地平线“2020”;
关键词
D O I
10.1145/3472883.3487012
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Key-value (KV) separation is a technique that introduces randomness in the I/O access patterns to reduce I/O amplification in LSM-based key-value stores. KV separation has a significant drawback that makes it less attractive: Delete and update operations in modern workloads result in frequent and expensive garbage collection (GC) in the value log. In this paper, we design and implement Parallax, which proposes hybrid KV placement to reduce GC overhead significantly and increases the benefits of using a log. We first model the benefits of KV separation for different KV pair sizes. We use this model to classify KV pairs in three categories small, medium, and large. Then, Parallax uses different approaches for each KV category: It always places large values in a log and small values in place. For medium values it uses a mixed strategy that combines the benefits of using a log and eliminates GC overhead as follows: It places medium values in a log for all but the last few (typically one or two) levels in the LSM structure, where it performs a full compaction, merges values in place, and reclaims log space without the need for GC. We evaluate Parallax against RocksDB that places all values in place and BlobDB that always performs KV separation. We find that Parallax increases throughput by up to 12.4x and 17.83x, decreases I/O amplification by up to 27.1x and 26x, and increases CPU efficiency by up to 18.7x and 28x, respectively, for all but scan-based YCSB workloads.
引用
收藏
页码:305 / 318
页数:14
相关论文
共 50 条
  • [41] Private Search on Key-Value Stores with Hierarchical Indexes
    Hu, Haibo
    Xu, Jianliang
    Xu, Xizhong
    Pei, Kexin
    Choi, Byron
    Zhou, Shuigeng
    2014 IEEE 30TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2014, : 628 - 639
  • [42] Customizable Scale-Out Key-Value Stores
    Anwar, Ali
    Cheng, Yue
    Huang, Hai
    Han, Jingoo
    Sim, Hyogi
    Lee, Dongyoon
    Douglis, Fred
    Butt, Ali R.
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2020, 31 (09) : 2081 - 2096
  • [43] Exploiting key-value data stores scalability for HPC
    Cugnasco, Cesare
    Becerra, Yolanda
    Torres, Jordi
    Ayguade, Eduard
    2017 46TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING WORKSHOPS (ICPPW), 2017, : 85 - 94
  • [44] FloDB: Unlocking Memory in Persistent Key-Value Stores
    Balmau, Oana
    Guerraoui, Rachid
    Trigonakis, Vasileios
    Zablotchi, Igor
    PROCEEDINGS OF THE TWELFTH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS (EUROSYS 2017), 2017, : 80 - 94
  • [45] Interval Indexing and Querying on Key-Value Cloud Stores
    Sfakianakis, George
    Patlakas, Ioannis
    Ntarmos, Nikos
    Triantafillou, Peter
    2013 IEEE 29TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2013, : 805 - 816
  • [46] Quantitative Analysis of Consistency in NoSQL Key-Value Stores
    Liu, Si
    Nguyen, Son
    Ganhotra, Jatin
    Rahman, Muntasir Raihan
    Gupta, Indranil
    Meseguer, Jose
    QUANTITATIVE EVALUATION OF SYSTEMS, 2015, 9259 : 228 - 243
  • [47] Evaluation of Key-Value Stores for Distributed Locking Purposes
    Grzesik, Piotr
    Mrozek, Dariusz
    BEYOND DATABASES, ARCHITECTURES AND STRUCTURES (BDAS): PAVING THE ROAD TO SMART DATA PROCESSING AND ANALYSIS, 2019, 1018 : 70 - 81
  • [48] Conversion cost and specification on interfaces of key-value stores
    Song, Jie
    Guo, Kun
    Wang, Jieping
    Li, Haibo
    Bao, Yubin
    Yu, Ge
    COMPUTER STANDARDS & INTERFACES, 2016, 47 : 42 - 51
  • [49] iKnowFirst: An Efficient DPU-assisted Compaction for LSM-Tree-based Key-Value Stores
    Chen, Jiahong
    Wang, Shengzhe
    Zhang, Zhihao
    Wu, Suzhen
    Mao, Bo
    2023 IEEE 34TH INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, ASAP, 2023, : 53 - 60
  • [50] Improving LSM-Tree Based Key-Value Stores With Fine-Grained Compaction Mechanism
    Sun, Hui
    Chen, Guanzhong
    Yue, Yinliang
    Qin, Xiao
    IEEE TRANSACTIONS ON CLOUD COMPUTING, 2023, 11 (04) : 3778 - 3796