KV-Tandem——一种构建高速LSM存储引擎的模块化方法
KV-Tandem -- a Modular Approach to Building High-Speed LSM Storage Engines
AI总结:
本文提出KV-Tandem模块化架构,通过LSM bypass算法在简单KVS上构建LSM存储引擎,实现高级功能并保持高性能,其实现XDP-Rocks比RocksDB性能提升3至4倍且已投产。
摘要:
我们提出了KV-Tandem,这是一种模块化架构,用于在简单、无序的持久化键值存储(KVSs)之上构建基于LSM的存储引擎。KV-Tandem支持范围查询和快照读取等高级功能,同时保持原生KVS的随机读写性能。与难以分解单体LSM结构的以往KV分离方案相比,其模块化设计提供了更优的性能权衡。KV-Tandem的核心是LSM bypass——一种新颖的算法,它为基本操作提供快速路径,同时确保高级API的正确性。我们在XDP-Rocks中实现了KV-Tandem,这是一个兼容RocksDB的存储引擎,利用了XDP KVS,并针对实际部署融入了实用的设计优化。通过广泛的微基准测试和系统级比较,我们证明XDP-Rocks在各种工作负载下实现了比RocksDB 3到4倍的性能提升。XDP-Rocks已投入生产,带来了与这些性能提升相符的显著运营成本节约。
英文摘要:
We present~\emph{KV-Tandem}, a modular architecture for building LSM-based storage engines on top of simple, non-ordered persistent key-value stores (KVSs). KV-Tandem enables advanced functionalities such as range queries and snapshot reads, while maintaining the native KVS performance for random reads and writes. Its modular design offers better performance trade-offs compared to previous KV-separation solutions, which struggle to decompose the monolithic LSM structure. Central to KV-Tandem is~\emph{LSM bypass} -- a novel algorithm that offers a fast path to basic operations while ensuring the correctness of advanced APIs. We implement KV-Tandem in \emph{XDP-Rocks}, a RocksDB-compatible storage engine that leverages the XDP KVS and incorporates practical design optimizations for real-world deployment. Through extensive microbenchmark and system-level comparisons, we demonstrate that XDP-Rocks achieves 3x to 4x performance improvements over RocksDB across various workloads. XDP-Rocks is already deployed in production, delivering significant operator cost savings consistent with these performance gains.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。