Leveraging NVMe SSDs for Building a Fast, Cost-effective, LSM-tree-based KV Store

Author:

Li Cheng1,Chen Hao1,Ruan Chaoyi1,Ma Xiaosong2,Xu Yinlong3

Affiliation:

1. University of Science and Technology of China, China

2. Qatar Computing Research Institute, HBKU, Qatar

3. University of Science and Technology of China, China and Anhui Province Key Laboratory of High Performance Computing, China

Abstract

Key-value (KV) stores support many crucial applications and services. They perform fast in-memory processing but are still often limited by I/O performance. The recent emergence of high-speed commodity non-volatile memory express solid-state drives (NVMe SSDs) has propelled new KV system designs that take advantage of their ultra-low latency and high bandwidth. Meanwhile, to switch to entirely new data layouts and scale up entire databases to high-end SSDs requires considerable investment. As a compromise, we propose SpanDB, an LSM-tree-based KV store that adapts the popular RocksDB system to utilize selective deployment of high-speed SSDs . SpanDB allows users to host the bulk of their data on cheaper and larger SSDs (and even hard disc drives with certain workloads), while relocating write-ahead logs (WAL) and the top levels of the LSM-tree to a much smaller and faster NVMe SSD. To better utilize this fast disk, SpanDB provides high-speed, parallel WAL writes via SPDK, and enables asynchronous request processing to mitigate inter-thread synchronization overhead and work efficiently with polling-based I/O. To ease the live data migration between fast and slow disks, we introduce TopFS, a stripped-down file system providing familiar file interface wrappers on top of SPDK I/O. Our evaluation shows that SpanDB simultaneously improves RocksDB's throughput by up to 8.8 \times and reduces its latency by 9.5–58.3%. Compared with KVell, a system designed for high-end SSDs, SpanDB achieves 96–140% of its throughput, with a 2.3–21.6 \times lower latency, at a cheaper storage configuration.

Funder

National Nature Science Foundation of China

USTC Research Funds of the Double First-Class Initiative

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture

Reference85 articles.

1. RocksDB. [n.d.]. A Persistent Key-Value Store for Fast Storage Environments. Retrieved from https://rocksdb.org/.

2. LinkedIn. [n.d.]. Benchmarking Apache Samza. Retrieved from https://engineering.linkedin.com/performance/benchmarking-apache-samza-12-million-messages-second-single-node.

3. MariaDB. [n.d.]. Group Commit for the Binary Log. Retrieved from https://mariadb.com/kb/en/group-commit-for-the-binary-log/.

4. GitHub. [n.d.] HHVM. Retrieved from https://github.com/facebook/hhvm.

5. Enterprise Storage Forum. [n.d.]. High capacity SSDs: How Big Can They Grow? Retrieved from https://www.enterprisestorageforum.com/hardware/high-capacity-ssds-how-big-can-they-grow/.

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

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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