XStore: Fast RDMA-Based Ordered Key-Value Store Using Remote Learned Cache

被引:5
|
作者
Wei, Xingda [1 ,2 ]
Chen, Rong [1 ,2 ]
Chen, Haibo [1 ,3 ]
Zang, Binyu [1 ,3 ]
机构
[1] Shanghai Jiao Tong Univ, Shanghai, Peoples R China
[2] Shanghai Artificial Intelligence Lab, Shanghai, Peoples R China
[3] Minist Educ, Engn Res Ctr Domain Specif Operating Syst, Shanghai, Peoples R China
基金
中国国家自然科学基金;
关键词
RDMA-based key-value store; machine learning model; tree-based index structure; index caching; DISTRIBUTED TRANSACTIONS;
D O I
10.1145/3468520
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
RDMA(Remote Direct MemoryAccess) has gained considerable interests in network-attached in-memory key-value stores. However, traversing the remote tree-based index in ordered key-value stores with RDMA becomes a critical obstacle, causing an order-of-magnitude slowdown and limited scalability due to multiple round trips. Using index cache with conventional wisdom-caching partial data and traversing them locally-usually leads to limited effect because of unavoidable capacity misses, massive random accesses, and costly cache invalidations. We argue that the machine learning (ML) model is a perfect cache structure for the tree-based index, termed learned cache. Based on it, we design and implement XStore, an RDMA-based ordered key-value store with a new hybrid architecture that retains a tree-based index at the server to perform dynamic workloads (e.g., inserts) and leverages a learned cache at the client to perform static workloads (e.g., gets and scans). The key idea is to decouple ML model retraining from index updating by maintaining a layer of indirection from logical to actual positions of key-value pairs. It allows a stale learned cache to continue predicting a correct position for a lookup key. XStore ensures correctness using a validation mechanism with a fallback path and further uses speculative execution to minimize the cost of cache misses. Evaluations with YCSB benchmarks and production workloads show that a single XStore server can achieve over 80 million read-only requests per second. This number outperforms state-of-the-art RDMA-based ordered key-value stores (namely, DrTMTree, Cell, and eRPC+Masstree) by up to 5.9x (from 3.7x). For workloads with inserts, XStore still provides up to 3.5x (from 2.7x) throughput speedup, achieving 53M reqs/s. The learned cache can also reduce clientside memory usage and further provides an efficient memory-performance tradeoff, e.g., saving 99% memory at the cost of 20% peak throughput.
引用
收藏
页数:32
相关论文
共 50 条
  • [21] Analysis of SSD Internal Cache Problem in a Key-Value Store System
    Jeong, Won Seob
    Won, Yongseok
    Ro, Won Woo
    PROCEEDINGS OF THE 2019 2ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND INFORMATION MANAGEMENT (ICSIM 2019) / 2019 2ND INTERNATIONAL CONFERENCE ON BIG DATA AND SMART COMPUTING (ICBDSC 2019), 2019, : 59 - 62
  • [22] RHKV: An RDMA and HTM friendly key-value store for data-intensive computing
    Wu, Renke
    Huang, Linpeng
    Zhou, Haojie
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2019, 92 : 162 - 177
  • [23] 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
  • [24] RS-store: A SkipList-Based Key-Value Store with Remote Direct Memory Access
    Huang, Chenchen
    Hu, Huiqi
    Qi, Xuecheng
    Zhou, Xuan
    Zhou, Aoying
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS (DASFAA 2020), PT I, 2020, 12112 : 314 - 323
  • [25] Cache-Conscious Data Placement in an In-Memory Key-Value Store
    Tinnefeld, Christian
    Zeier, Alexander
    Plattner, Hasso
    PROCEEDINGS OF THE 15TH INTERNATIONAL DATABASE ENGINEERING & APPLICATIONS SYMPOSIUM (IDEAS '11), 2011, : 134 - 142
  • [26] Dotori: A Key-Value SSD Based KV Store
    Duffy, Carl
    Shim, Jaehoon
    Kim, Sang-Hoon
    Kim, Jin-Soo
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2023, 16 (06): : 1560 - 1572
  • [27] VideoKV: A Fast Key-Value Store For Intelligent Video Surveillance Terminals
    Cui, Zhenli
    Luo, Yu
    2021 IEEE INTERNATIONAL PERFORMANCE, COMPUTING, AND COMMUNICATIONS CONFERENCE (IPCCC), 2021,
  • [28] Dhcache: a dual-hash cache for optimizing the read performance in key-value store
    Lu, Jinkang
    Lv, Meng
    Li, Peixuan
    Yuan, Zhu
    Xie, Ping
    JOURNAL OF SUPERCOMPUTING, 2025, 81 (02):
  • [29] FastStore: A High-Performance RDMA-enabled Distributed Key-Value Store with Persistent Memory
    Xiong, Ziwei
    Jiang, Dejun
    Xiong, Jin
    2023 IEEE 43RD INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS, ICDCS, 2023, : 406 - 417
  • [30] Generalization and Implementation of RAM-Based Key-Value Store
    Tian, Tian
    Zhang, Chengfei
    Yu, Kai
    Zhang, Yiming
    Zhong, Ping
    2016 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE & COMPUTATIONAL INTELLIGENCE (CSCI), 2016, : 1412 - 1413