Lune

OSDI2020顶会

Fast RDMA-based Ordered Key-Value Store using Remote Learned Cache

Xingda Wei, Rong Chen, Haibo Chen

摘要

RDMA ( Remote Direct Memory Access ) 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, DrTM-Tree, Cell, and eRPC+Masstree) by up to 5.9× (from 3.7×). For workloads with inserts, XStore still provides up to 3.5× (from 2.7×) throughput speedup, achieving 53M reqs/s. The learned cache can also reduce client-side memory usage and further provides an efficient memory-performance tradeoff, e.g., saving 99% memory at the cost of 20% peak throughput.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 39 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • From WiscKey to Bourbon: A Learned Index for Log-Structured Merge Trees 引用了 XIndex: a scalable learned index for multicore data storage
  • ALEX: An Updatable Adaptive Learned Index 引用了 Learning Multi-Dimensional Indexes
  • Learning Multi-Dimensional Indexes 引用了 ALEX: An Updatable Adaptive Learned Index
  • FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory Systems 引用了 From WiscKey to Bourbon: A Learned Index for Log-Structured Merge Trees
  • FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory Systems 引用了 ALEX: An Updatable Adaptive Learned Index
  • FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory Systems 引用了 XIndex: a scalable learned index for multicore data storage
  • GL-Cache: Group-level learning for efficient and high-performance caching 引用了 ALEX: An Updatable Adaptive Learned Index
  • GL-Cache: Group-level learning for efficient and high-performance caching 引用了 Learning Multi-Dimensional Indexes
  • XIndex: a scalable learned index for multicore data storage 引用了 ALEX: An Updatable Adaptive Learned Index
  • Characterizing Off-path SmartNIC for Accelerating Distributed Systems 引用了 XIndex: a scalable learned index for multicore data storage
  • ROLEX: A Scalable RDMA-oriented Learned Key-Value Store for Disaggregated Memory Systems 引用了 From WiscKey to Bourbon: A Learned Index for Log-Structured Merge Trees
  • ROLEX: A Scalable RDMA-oriented Learned Key-Value Store for Disaggregated Memory Systems 引用了 Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated Memory
  • ROLEX: A Scalable RDMA-oriented Learned Key-Value Store for Disaggregated Memory Systems 引用了 ALEX: An Updatable Adaptive Learned Index
  • ROLEX: A Scalable RDMA-oriented Learned Key-Value Store for Disaggregated Memory Systems 引用了 XIndex: a scalable learned index for multicore data storage
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper39

  1. Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated MemoryQing Wang, Youyou Lu, Jiwu ShuSIGMOD 2022 · 99 次引用
  2. FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory SystemsPengfei Li, Yu Hua, Jingnan Jia, Pengfei ZuoVLDB 2022 · 97 次引用
  3. ROLEX: A Scalable RDMA-oriented Learned Key-Value Store for Disaggregated Memory SystemsPengfei Li, Yu Hua, Pengfei Zuo, Zhangyu Chen 等FAST 2023 · 90 次引用
  4. Characterizing Off-path SmartNIC for Accelerating Distributed SystemsXingda Wei, Rongxin Cheng, Yuhan Yang, Rong Chen 等OSDI 2023 · 68 次引用
  5. GL-Cache: Group-level learning for efficient and high-performance cachingJuncheng Yang, Ziming Mao, Yao Yue, K. V. RashmiFAST 2023 · 60 次引用

它引用的 Paper5

  1. ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang 等SIGMOD 2020 · 274 次引用
  2. Learning Multi-Dimensional IndexesVikram Nathan, Jialin Ding, Mohammad Alizadeh, Tim KraskaSIGMOD 2020 · 180 次引用
  3. From WiscKey to Bourbon: A Learned Index for Log-Structured Merge TreesYifan Dai, Yien Xu, Aishwarya Ganesan, Ramnatthan Alagappan 等OSDI 2020 · 138 次引用
  4. XIndex: a scalable learned index for multicore data storageChuzhe Tang, Youyun Wang, Zhiyuan Dong, Gansen Hu 等PPoPP 2020 · 109 次引用
  5. Cloudburst: Stateful Functions-as-a-ServiceVikram Sreekanti, Chenggang Wu, Xiayue Charles Lin, Johann Schleier-Smith 等VLDB 2020

相关 Paper

  1. RDMP-KV: designing remote direct memory persistence based key-value stores with PMEMTianxi Li, Dipti Shankar, Shashank Gugnani, Xiaoyi LuSC 2020 · 3 次引用
  2. ScaleStore: A Fast and Cost-Efficient Storage Engine using DRAM, NVMe, and RDMATobias Ziegler, Carsten Binnig, Viktor LeisSIGMOD 2022 · 51 次引用
  3. TeRM: Extending RDMA-Attached Memory with SSDZhe Yang, Qing Wang, Xiaojian Liao, Youyou Lu 等FAST 2024 · 6 次引用
  4. DPA-Store: An Ordered Network Data Path Key-Value StoreFrederic Schimmelpfennig, Jan Sass, Reza Salkhordeh, Martin Kröning 等OSDI 2026
  5. Cuckoo for Clients: Disaggregated Cuckoo HashingStewart Grant, Alex C. SnoerenUSENIX ATC 2025
黄昏的海面,两侧是细线勾勒的悬崖