CaaS-LSM: Compaction-as-a-Service for LSM-based Key-Value Stores in Storage Disaggregated Infrastructure

Author:

Yu Qiaolin1ORCID,Guo Chang2ORCID,Zhuang Jay3ORCID,Thakkar Viraj2ORCID,Wang Jianguo4ORCID,Cao Zhichao2ORCID

Affiliation:

1. Arizona State University & Cornell University, Tempe, AZ, USA

2. Arizona State University, Tempe, AZ, USA

3. Independent, San Francisco, CA, USA

4. Purdue University, West Lafayette, IN, USA

Abstract

Optimizing LSM-based Key-Value Stores (LSM-KVS) for disaggregated storage is essential to achieve better resource utilization, performance, and flexibility. Most of the existing studies focus on offloading the compaction to the storage nodes to mitigate the performance penalties caused by heavy network traffic between computing and storage. However, several critical issues are not addressed including the strong dependency between offloaded compaction and LSM-KVS, resource load-balancing, compaction scheduling, and complex transient errors. To address the aforementioned issues and limitations, in this paper, we propose CaaS-LSM, a novel disaggregated LSM-KVS with a new idea of Compaction-as-a-Service. CaaS-LSM brings three key contributions. First, CaaS-LSM decouples the compaction from LSM-KVS and achieves stateless execution to ensure high flexibility and avoid coordination overhead with LSM-KVS. Second, CaaS-LSM introduces a performance- and resource-optimized control plane to guarantee better performance and resource utilization via an adaptive run-time scheduling and management strategy. Third, CaaS-LSM addresses different levels of transient and execution errors via sophisticated error-handling logic. We implement the prototype of CaaS-LSM based on RocksDB and evaluate it with different LSM-based distributed databases (Kvrocks and Nebula). In the storage disaggregated setup, CaaS-LSM achieves up to 8X throughput improvement and reduces the P99 latency up to 98% compared with the conventional LSM-KVS, and up to 61% of improvement compared with state-of-the-art LSM-KVS optimized for disaggregated storage.

Funder

Arizona State University

National Science Foundation

Publisher

Association for Computing Machinery (ACM)

Reference87 articles.

1. [n. d.]. Apache. Kvrocks. https://github.com/apache/incubator-kvrocks. Accessed 10 Jan, 2023.

2. [n. d.]. Azure SQL Database. Hyperscale service tier. https://learn.microsoft.com/enus/azure/azure-sql/database/service-tier-hyperscale?view=azuresql,2023.. Accessed 10 Jan, 2023.

3. [n. d.]. ByteDance. TerarkDB. https://github.com/bytedance/terarkdb. Accessed 10 Jan, 2023.

4. [n. d.]. CaaS-LSM. https://github.com/asu-idi/CaaS-LSM.

5. [n. d.]. Cassandra on RocksDB at Instagram. https://developers.facebook.com/videos/f8--2018/cassandra-on-rocksdb-at-instagram.

Cited by 2 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Can Modern LLMs Tune and Configure LSM-based Key-Value Stores?;Proceedings of the 16th ACM Workshop on Hot Topics in Storage and File Systems;2024-07-08

2. Optimizing LSM-based indexes for disaggregated memory;The VLDB Journal;2024-06-19

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3