OR-LSM: Optimizing Read Performance for LSM-KVS via Adaptive Caching Management and Scan Mode Selection

The read performance of the LSM-tree-based key-value stores (LSM-KVS) faces significant challenges due to increasingly diverse and dynamic workloads. Our study reveals that under various and dynamic workloads, the read performance of LSM-KVS suffers from three static configuration policies, i.e., the static configuration for caching the metadata block (including index block and filter), the static configuration for caching the KV pair and data block, and the static configuration for Scan mode. To address these challenges, we introduce OR-LSM, an adaptively configured LSM-KVS to enhance read performance by dynamically managing caching and Scan mode. First, we propose an adaptive metadata caching mechanism that caches the metadata block in an individual caching component (namely, metadata cache), and adjusts the metadata cache size according to the workload (i.e., the demand for caching the metadata block). Second, we propose an adaptive KV/data caching mechanism that caches the KV pair and the data block in different caching components (namely, the KV cache and data cache), and adaptively adjusts the KV cache size and data cache size according to the workload (i.e., the ratio of the Get number to the Scan number). Third, we propose an adaptive Scan mode adjustment mechanism that selects the Scan mode based on the workload (i.e., the ratio of the Scan-generated I/O number to the Scan request number). We implement OR-LSM and evaluate it under various synthetic and real-world workloads. Experimental results show that OR-LSM outperforms other state-of-the-art systems under various dynamic workloads, achieving up to 2.31× better read performance than RocksDB.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Architecture and Code Optimization
Published
2026-11-26
DOI
https://doi.org/10.1145/3848516
Primary Topic
Advanced Data Storage Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

OR-LSM: Optimizing Read Performance for LSM-KVS via Adaptive Caching Management and Scan Mode Selection

Shaoyin Huang, Jiazhi Jiang, Yang Liu, Ziyan Zhang et al.
ACM Transactions on Architecture and Code Optimization
Advanced Data Storage Technologies
article

OR-LSM: Optimizing Read Performance for LSM-KVS via Adaptive Caching Management and Scan Mode Selection

Shaoyin Huang, Jiazhi Jiang, Yang Liu, Ziyan Zhang, Zhiguang Chen, Yutong Lu
article en

Abstract

The read performance of the LSM-tree-based key-value stores (LSM-KVS) faces significant challenges due to increasingly diverse and dynamic workloads. Our study reveals that under various and dynamic workloads, the read performance of LSM-KVS suffers from three static configuration policies, i.e., the static configuration for caching the metadata block (including index block and filter), the static configuration for caching the KV pair and data block, and the static configuration for Scan mode. To address these challenges, we introduce OR-LSM, an adaptively configured LSM-KVS to enhance read performance by dynamically managing caching and Scan mode. First, we propose an adaptive metadata caching mechanism that caches the metadata block in an individual caching component (namely, metadata cache), and adjusts the metadata cache size according to the workload (i.e., the demand for caching the metadata block). Second, we propose an adaptive KV/data caching mechanism that caches the KV pair and the data block in different caching components (namely, the KV cache and data cache), and adaptively adjusts the KV cache size and data cache size according to the workload (i.e., the ratio of the Get number to the Scan number). Third, we propose an adaptive Scan mode adjustment mechanism that selects the Scan mode based on the workload (i.e., the ratio of the Scan-generated I/O number to the Scan request number). We implement OR-LSM and evaluate it under various synthetic and real-world workloads. Experimental results show that OR-LSM outperforms other state-of-the-art systems under various dynamic workloads, achieving up to 2.31× better read performance than RocksDB.

ACM Transactions on Architecture and Code OptimizationVol. 23(4)
Sun Yat-sen University (CN)
Advanced Data Storage Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon