Reducing Write Amplification in LSM-Tree by Data Compaction Based on Sliding-Window

Key-value storage holds a crucial position in modern large-scale applications within data centers. Write-optimized data structures, such as LSM-tree (Log-Structured Merge-tree) and its variations, are prevalently adopted in key-value storage systems like BigTable and HBase. The conventional LSM-tree organizes key values into multiple files of sorted strings that keep expanding and utilizes compaction to transfer key values from one smaller file to another adjacent larger file until the key values reach the largest file. Unfortunately, the current compaction schemes bring about considerable write amplification due to the repeated reading and writing of key values, resulting in suboptimal throughput. We propose a novel compaction scheme, namely sliding-window based compaction (SWCompaction), which has the ability to reduce write amplification. Sliding-window based compaction calculates the compaction cost based on the key range of the sorted string files and determines the candidate sorted string files. Sliding-window based compaction can effectively lower write amplification and boost the system throughput. We implemented SWCompaction on HBase and carried out extensive experiments. Validation through the YCSB framework shows that the write performance of SWCompaction is enhanced by approximately 15%, and the read performance is comparable to default HBase.

Authors

Institutions

Publication Details

Published
2024-12-06
DOI
https://doi.org/10.1109/iaecst64597.2024.11118070
Primary Topic
Advanced Computational Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Reducing Write Amplification in LSM-Tree by Data Compaction Based on Sliding-Window

Jianqiang Li, K.Q. Wang, Rurong Chen
Advanced Computational Techniques and Applications
article

Reducing Write Amplification in LSM-Tree by Data Compaction Based on Sliding-Window

Jianqiang Li, K.Q. Wang, Rurong Chen
article en

Abstract

Key-value storage holds a crucial position in modern large-scale applications within data centers. Write-optimized data structures, such as LSM-tree (Log-Structured Merge-tree) and its variations, are prevalently adopted in key-value storage systems like BigTable and HBase. The conventional LSM-tree organizes key values into multiple files of sorted strings that keep expanding and utilizes compaction to transfer key values from one smaller file to another adjacent larger file until the key values reach the largest file. Unfortunately, the current compaction schemes bring about considerable write amplification due to the repeated reading and writing of key values, resulting in suboptimal throughput. We propose a novel compaction scheme, namely sliding-window based compaction (SWCompaction), which has the ability to reduce write amplification. Sliding-window based compaction calculates the compaction cost based on the key range of the sorted string files and determines the candidate sorted string files. Sliding-window based compaction can effectively lower write amplification and boost the system throughput. We implemented SWCompaction on HBase and carried out extensive experiments. Validation through the YCSB framework shows that the write performance of SWCompaction is enhanced by approximately 15%, and the read performance is comparable to default HBase.

Chinese Academy of Sciences (CN), National Computer Network Emergency Response Technical Team/Coordination Center of Chinar (CN), Institute of Information Engineering (CN)
Openalex Percentile: Top 72%
Advanced Computational Techniques and Applications
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.

Reducing Write Amplification in LSM-Tree by Data Compaction Based on Sliding-Window — Jianqiang Li, K.Q. Wang, et al. · (2024) | TGRS Research Map | TGRS