BL-Tree: The Best of Both Worlds by Combining B+- Tree on Top and LSM - Tree on Bottom
Suzhen Wu, Zuocheng Wang, Shengzhe Wang, Jiahong Chen, Chunfeng Du, Ke Zhou, Jie Zhang, Bo Mao
Abstract
The shattered and overlapped Level-0 data organization is the primary cause of write stall and read amplification problems in LSM-Tree-based Key-Value (KV) stores: (1) Level-0 to Level-1 compaction involves a large amount of data which induces write stalls, and (2) A point lookup needs to access multiple files in Level-0 which leads to significant read amplification. To address the problem, we propose BL-Tree by replacing the shattered Level-0 in LSM-Tree with a B+-Tree in byte-addressable Persistent Memory (PM). The sorted B+-Tree of Level-0 can accelerate the point lookup speed and reduce read/write amplification. BL-Tree further conducts the locality-aware and parallel compaction from the B+-Tree in PM (Level-0) to the lower levels of LSM-Tree in SSDs by only moving cold data downward, thus alleviating the write stalls and reducing the read/write amplification simultaneously. The extensive experiments on the prototype of BL- Tree show that it definitely avoids the write stalls and significantly reduces the read/write amplification. As a result, BL-Tree reduces the P99 tail latency by 65.2 × than LevelDB-PM and speeds up the throughput by more than 2 × under workloads with spatial locality than other KV stores.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- ?Tree: a Persistent B+-Tree with Low Tail LatencyYoumin Chen, Youyou Lu, Kedong Fang, Qing Wang et al.VLDB 2020
- Boosting Write Performance of KV Stores: An NVM - Enabled Storage Collaboration ApproachYi Wang, Jiajian He, Kaoyi Sun, Yunhao Dong et al.ICDE 2024 · 6 citations
- Revisiting Log-Structured Merging for KV Stores in Hybrid Memory SystemsZhuohui Duan, Jiabo Yao, Haikun Liu, Xiaofei Liao et al.ASPLOS 2023 · 25 citations
- ListDB: Union of Write-Ahead Logs and Persistent SkipLists for Incremental Checkpointing on Persistent MemoryWonbae Kim, Chanyeol Park, Dongui Kim, Hyeongjun Park et al.OSDI 2022 · 47 citations
- PartitionKV: Redesigning LSM-tree KV Stores on NVMs with Adaptive Partitioning for Reducing Write Stalls and AmplificationXingye Huang, Jinyu Wu, Xiaofang Xia, Jiangtao Cui et al.SIGMOD 2026
