FlameDB: A Key-Value Store With Grouped Level Structure and Heterogeneous Bloom Filter
Authors:
Open Access
- 30 April 2018
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 6, 24962-24972
Abstract
Key-value (KV) stores are widely used to provide much higher read and write throughput than traditional SQL databases. In particular, LSM-tree based KV store is popular with many applications since it could eliminate random writes and thus provides good write performance. However, the data residing in external storage are compacted from time to time, which takes a large amount of I/O resources and degrades the system performance. In this paper, we propose FlameDB, which leverages grouped level structure (GLS) to mitigate the compaction overhead. Besides dividing the whole storage space into multiple components as in LSM-tree, GLS further divides each component into multiple groups and compacts all KV items in a component as a group of the next component. Besides, we also propose a heterogeneous bloom filter (HEBF) scheme which assigns more bits to the bloom filters in upper components. With HEBF, the false positive rate of a bloom filter in upper components become smaller, and this scheme reduces the expected number of I/Os to read a KV item from the external storage with a given memory usage. Our experiments show that FlameDB saves about 75% I/O during compaction, so it improves the write throughput by about four times. Meanwhile, the read performance is also slightly improved by deploying HEBF.Keywords
Funding Information
- National Natural Science Foundation of China (61379038)
- Anhui Provincial Natural Science Foundation (1508085SQF214)
This publication has 19 references indexed in Scilit:
- dCompaction: Speeding up Compaction of the LSM-Tree via Delayed CompactionJournal of Computer Science and Technology, 2017
- Building an Efficient Put-Intensive Key-Value Store with Skip-TreeIEEE Transactions on Parallel and Distributed Systems, 2016
- Atlas: Baidu's key-value storage system for cloud data2015
- Pipelined Compaction for the LSM-Tree2014
- An analysis of Facebook photo caching2013
- BloomStore: Bloom-Filter based memory-efficient key-value store for indexing of data deduplication on flash2012
- BigtableACM Transactions on Computer Systems, 2008
- Using Memcached for Data Distribution in Industrial Environment2008
- The Multiple-Choice Knapsack Problem2004
- The log-structured merge-tree (LSM-tree)Acta Informatica, 1996