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

4Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.

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× compared to the state-of-the-art schemes and delivers high reliability, cost-effectiveness, and fast recovery.

Cite

CITATION STYLE

APA

Xu, P., Zhao, N., Wan, J., Liu, W., Chen, S., Zhou, Y., … Tan, Z. (2022). Building a Fast and Efficient LSM-tree Store by Integrating Local Storage with Cloud Storage. ACM Transactions on Architecture and Code Optimization, 19(3). https://doi.org/10.1145/3527452

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free