WipDB: A Write-in-place Key-value Store that Mimics Bucket Sort

被引:6
作者
Zhao, Xingsheng [1 ]
Jiang, Song [1 ]
Wu, Xingbo [2 ]
机构
[1] Univ Texas Arlington, Arlington, TX 76019 USA
[2] Univ Illinois, Chicago, IL USA
来源
2021 IEEE 37TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2021) | 2021年
基金
美国国家科学基金会;
关键词
key-value store; index; SSD; storage;
D O I
10.1109/ICDE51399.2021.00125
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Key-value (KV) stores have become a major storage infrastructure on which databases, file systems, and other data management systems are built. To support efficient indexing and range search, the key-value items must be sorted. However, this sorting process can be excessively expensive. In the KV systems adopting the popular Log-Structured Merge Tree (LSM) structure or its variants, the write volume can be amplified by tens of times due to its repeated internal merge-sorting operation. In this paper we propose a KV store design that leverages relatively stable key distributions to bound the write amplification by a number as low as 4.15 in practice. The key idea is, instead of incrementally sorting KV items in the LSM's hierarchical structure, it writes KV items right in place in an approximately sorted list, much like a bucket sort algorithm does. The design also makes it possible to keep most internal data reorganization operations off the critical path of read service. The so-called Write-in-place (Wip) scheme has been implemented with its source code publicly available. Experiment results show that WipDB improves write throughput by 3 to 8x (to around 1 Mops/s on one Intel PCIe SSD) over state-of-the-art KV stores.
引用
收藏
页码:1404 / 1415
页数:12
相关论文
共 50 条
  • [1] WOKV: A Write-Optimized Key-Value Store
    Zhan, Ling
    Yu, Kan
    Zhou, Chenxi
    Tang, Chenlei
    2018 IEEE 3RD INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND BIG DATA ANALYSIS (ICCCBDA), 2018, : 527 - 531
  • [2] RepKV: A Replicated Key-Value Store to Boost Multiple Indices for Key-Value Separation
    Tang, Chenlei
    Wan, Jiguang
    Tan, Zhihu
    Li, Guokuan
    2022 IEEE 40TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD 2022), 2022, : 187 - 194
  • [3] HyperDex: A Distributed, Searchable Key-Value Store
    Escriva, Robert
    Wong, Bernard
    Sirer, Emin Guen
    ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2012, 42 (04) : 25 - 36
  • [4] KVell: the Design and Implementation of a Fast Persistent Key-Value Store
    Lepers, Baptiste
    Balmau, Oana
    Gupta, Karan
    Zwaenepoel, Willy
    PROCEEDINGS OF THE TWENTY-SEVENTH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES (SOSP '19), 2019, : 447 - 461
  • [5] Building an Efficient Key-Value Store in a Flexible Address Space
    Chen, Chen
    Zhong, Wenshao
    Wu, Xingbo
    PROCEEDINGS OF THE SEVENTEENTH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS (EUROSYS '22), 2022, : 51 - 68
  • [6] LibreKV: A Persistent in-Memory Key-Value Store
    Liu, Hao
    Huang, Linpeng
    Zhu, Yanmin
    Shen, Yanyan
    IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTING, 2020, 8 (04) : 916 - 927
  • [7] Building an Encrypted, Distributed, and Searchable Key-value Store
    Yuan, Xingliang
    Wang, Xinyu
    Wang, Cong
    Qian, Chen
    Lin, Jianxiong
    ASIA CCS'16: PROCEEDINGS OF THE 11TH ACM ASIA CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2016, : 547 - 558
  • [8] SconeKV: A Scalable, Strongly Consistent Key-Value Store
    Goncalves, Joao
    Matos, Miguel
    Rodrigues, Rodrigo
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2022, 33 (12) : 4164 - 4175
  • [9] ZDB-High performance key-value store
    Thanh Nguyen Trung
    Minh Nguyen Hieu
    2013 THIRD WORLD CONGRESS ON INFORMATION AND COMMUNICATION TECHNOLOGIES (WICT), 2013, : 311 - 316
  • [10] An extra spatial hierarchical schema in key-value store
    Kun Zheng
    Kang Zheng
    Falin Fang
    Miao Zhang
    Qi Li
    Yanghui Wang
    Wenyu Zhao
    Cluster Computing, 2019, 22 : 6483 - 6497