Discard-Based Garbage Collection for Distributed Log-Structured Storage Systems in ByteDance
Runhua Bian, Liqiang Zhang, Jinxin Liu, Jiacheng Zhang, Jianong Zhong, Jiahao Gu, Hao Guo, Zhihong Guo, Yunhao Li, Fenghao Zhang, Jiangkun Zhao, Yangming Chen
摘要
ByteStore is a distributed append-only storage system that serves as the foundational storage layer of the ByteDance infrastructure. Initially, storage services on ByteStore use compaction for garbage collection (GC). Additional writes induced by compaction and the SSD space occupied by stale data result in millions of dollars in extra Total Cost of Ownership (TCO) per month. Aggressive compaction releases the SSD space, but at the cost of more write operations and faster SSD wear, thus failing to reduce TCO.
Based on our analysis of the traces from the block storage service (ByteDrive) deployed on ByteStore, we propose DisCoGC, a Discard-and-Compaction combined Garbage Collection scheme, which employs a discard mechanism to reclaim the space occupied by stale data without moving valid data. Production cluster metrics monitor and offline experiments demonstrate that DisCoGC achieves approximately 20% reduction in TCO, without sacrificing performance.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Pacman: An Efficient Compaction Approach for Log-Structured Key-Value Store on Persistent Memory 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- SpanDB: A Fast, Cost-Effective LSM-tree Based KV Store on Hybrid Storage 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
它引用的 Paper6
- FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent MemoryYoumin Chen, Youyou Lu, Fan Yang, Qing Wang 等ASPLOS 2020 · 166 次引用
- SpanDB: A Fast, Cost-Effective LSM-tree Based KV Store on Hybrid StorageHao Chen, Chaoyi Ruan, Cheng Li, Xiaosong Ma 等FAST 2021 · 120 次引用
- Pacman: An Efficient Compaction Approach for Log-Structured Key-Value Store on Persistent MemoryJing Wang, Youyou Lu, Qing Wang, Minhui Xie 等USENIX ATC 2022 · 44 次引用
- AegonKV: A High Bandwidth, Low Tail Latency, and Low Storage Cost KV-Separated LSM Store with SmartSSD-based GC OffloadingZhuohui Duan, Hao Feng, Haikun Liu, Xiaofei Liao 等FAST 2025 · 11 次引用
- MaxEmbed: Maximizing SSD bandwidth utilization for huge embedding models servingRuwen Fan, Minhui Xie, Haodi Jiang, Youyou LuASPLOS 2024 · 1 次引用
相关 Paper
- TierScape: Harnessing Multiple Compressed Tiers to Tame Server Memory TCOSandeep Kumar, Aravinda Prasad, Sreenivas SubramoneyEuroSys 2026 · 1 次引用
- Terark-DS: A High-Performance and Storage-Efficient Key-Value Separation Storage Engine on Disaggregated StorageJianshun Zhang, Xun Deng, Fang Wang, Jiaxin Ou 等VLDB 2026
- How to Cut Out Expired Data with Nearly Zero Overhead for Solid-State DrivesWei-Lin Wang, Tseng-Yi Chen, Yuan-Hao Chang, Hsin-Wen Wei 等DAC 2020 · 2 次引用
- Scavenger: Better Space-Time Trade-Offs for Key-Value Separated LSM-treesJianshun Zhang, Fang Wang, Sheng Qiu, Yi Wang 等ICDE 2024 · 5 次引用
- PolarStore: High-Performance Data Compression for Large-Scale Cloud-Native DatabasesQingda Hu, Xinjun Yang, Feifei Li, Junru Li 等FAST 2026 · 4 次引用
