MCF-KV: Multi-Cuckoo-Filter Index based Key-Value Store with Persistent Memory

Hongjia Zou, Lidan Shou, Ke Chen, Xuan Zhou

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

A Modern KV store typically employs log structured merge trees (LSM-Tree) for organizing data and bloom filters to speed up read. However, both the multi-layer structure and the boom filters come at a performance cost in certain scenarios. In this paper, we leverage persistent memory (PM) devices to improve the performance of LSMT based KV store. We present a novel KV store engine, the Multi-Cuckoo-Filter KV (MCF-KV), which is a new design that replaces in-memory Bloom filters with a multiple-cuckoo-filter index stored in PM, and uses a single-level LSMT to store real data on SSD. In MCF index, we store fingerprint and location information of a key-value pair. While the MCF index performs well in both read and write and has low write amplification, its duplicate key update is costly as it does not distinguish between items with hash collisions. To address this, we harness Fast and Fair B+-tree, a b+-tree index specifically designed for PM, to store key-value pairs that trigger hash collisions. Also, MCF-KV performs overlap-based compaction to efficiently reclaim storage space on disk while avoiding unnecessary write amplification. Our extensive experiments demonstrate that MCF-KV provides 2.1× and 4.9× higher random write throughput, and 2.2× and 1.4× higher point query performance compared to SLM-DB and LevelDB respectively. It also achieves much lower read latency compared to the baselines.

Original languageEnglish
Title of host publicationProceedings of the 27th International Conference on Extending Database Technology, EDBT 2024
PublisherOpenProceedings.org
Pages255-267
Number of pages13
Edition2
ISBN (Electronic)9783893180912, 9783893180943
DOIs
StatePublished - 22 Nov 2023
Event27th International Conference on Extending Database Technology, EDBT 2024 - Paestum, Italy
Duration: 25 Mar 202428 Mar 2024

Publication series

NameAdvances in Database Technology - EDBT
Number2
Volume27
ISSN (Electronic)2367-2005

Conference

Conference27th International Conference on Extending Database Technology, EDBT 2024
Country/TerritoryItaly
CityPaestum
Period25/03/2428/03/24

Fingerprint

Dive into the research topics of 'MCF-KV: Multi-Cuckoo-Filter Index based Key-Value Store with Persistent Memory'. Together they form a unique fingerprint.

Cite this