Building a Fast and Efficient LSM-tree Store by Integrating Local Storage with Cloud Storage

Author:

Xu Peng1ORCID,Zhao Nannan2,Wan Jiguang3,Liu Wei4,Chen Shuning4,Zhou Yuanhui1,Albahar Hadeel5,Liu Hanyang4,Tang Liu4,Tan Zhihu6

Affiliation:

1. WNLO, Huazhong University of Science and Technology, Shenzhen, Guangdong, China

2. Research and Development Institute of Northwestern Polytechnical University in Shenzhen, and School of Computer Science, Northwestern Polytechnical University, Shenzhen, Guangdong,, China

3. WNLO, Huazhong University of Science and Technology, and Shenzhen Huazhong University of Science and Technology Research Institute, Wuhan, Hubei, China

4. PingCAP, China

5. Virginia Tech and Kuwait University, Blacksburg, Virginia, USA

6. Department of Computer Science and Technology, Huazhong University of Science and Technology, Wuhan, Hubei, China

Abstract

The explosive growth of modern web-scale applications has made cost-effectiveness a primary design goal for their underlying databases. As a backbone of modern databases, LSM-tree based key–value stores (LSM store) face limited storage options. They are either designed for local storage that is relatively small, expensive, and fast or for cloud storage that offers larger capacities at reduced costs but slower. Designing an LSM store by integrating local storage with cloud storage services is a promising way to balance the cost and performance. However, such design faces challenges such as data reorganization, metadata overhead, and reliability issues. In this article, we propose RocksMash , a fast and efficient LSM store that uses local storage to store frequently accessed data and metadata while using cloud to hold the rest of the data to achieve cost-effectiveness. To improve metadata space-efficiency and read performance, RocksMash  uses an LSM-aware persistent cache that stores metadata in a space-efficient way and stores popular data blocks by using compaction-aware layouts. Moreover, RocksMash  uses an extended write-ahead log for fast parallel data recovery. We implemented RocksMash  by embedding these designs into RocksDB. The evaluation results show that RocksMash  improves the performance by up to 1.7 \( \times \) compared to the state-of-the-art schemes and delivers high reliability, cost-effectiveness, and fast recovery.

Funder

National Natural Science Foundation of China

Science, Technology and Innovation Commission of Shenzhen Municipality

Key Research and Development Program of Guangdong Province

Guangdong Basic and Applied Basic Research Foundation

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Information Systems,Software

Reference64 articles.

1. [n. d.]. Amazon EBS Pricing. Retrieved from https://aws.amazon.com/pricing.

2. [n. d.]. Amazon EBS volume types. Retrieved from https://aws.amazon.com/ebs/volume-types/?nc1=h_ls.

3. [n. d.]. Amazon EC2 instance store. Retrieved from https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html.

4. [n. d.]. Amazon EC2 On-Demand Pricing—Data Transfer. Retrieved from https://aws.amazon.com/cn/ec2/pricing/on-demand/.

5. [n. d.]. CockroachDB: Data mapping between the SQL model and KV. Retrieved from https://github.com/cockroachdb/cockroach/blob/master/docs/design.md.

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

1. A Contract-aware and Cost-effective LSM Store for Cloud Storage with Low Latency Spikes;ACM Transactions on Storage;2024-04-04

2. WA-Zone: Wear-Aware Zone Management Optimization for LSM-Tree on ZNS SSDs;ACM Transactions on Architecture and Code Optimization;2024-01-18

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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