TaC: An Anti-Caching Key-Value Store on Heterogeneous Memory Architectures

Yunhong Ji, Wentao Huang, Xuan Zhou, Bingsheng He, Kian Lee Tan

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

Abstract

In-memory key-value (KV) stores play a pivotal role in modern applications due to their exceptional performance. However, they grapple with the high cost and limited capacity of DRAM. Anti-caching systems address these limitations by using the disk (or SSD) to store cold data evicted from memory. However, as data volumes surge, the performance of anti-caching systems can degrade significantly. Luckily, the emerging byte-addressable storage, such as Non-Volatile Memory (NVM), offers larger capacity and enhanced cost-effectiveness compared to DRAM. This paper delves into its potential in building anti-caching KV stores for large-scale data. Due to the performance degradation of NVM compared to DRAM and its specific performance characteristics, how to efficiently integrate it into an anti-caching KV store poses challenges. In this paper, we discuss several potential designs and propose a three-tier anti-caching design, TaC. TaC utilizes NVM to expand the memory capacity of anti-caching systems and employs DRAM, NVM, and SSD to host hot, warm, and cold data, respectively. In particular, the three-tier architecture introduces additional challenges in data swapping and access tracking. To address them, we introduce a lightweight access tracking mechanism and a hybrid data swapping strategy. We implemented a prototype of TaC on top of the widely-used open-source in-memory KV store Memcached and evaluated it using the YCSB benchmark. The results demonstrate that TaC can outperform alternative designs across various workloads.

Original languageEnglish
Title of host publicationProceedings of the 27th International Conference on Extending Database Technology, EDBT 2024
PublisherOpenProceedings.org
Pages474-487
Number of pages14
Edition3
ISBN (Electronic)9783893180912, 9783893180943, 9783893180950
DOIs
StatePublished - 18 Mar 2024
Event27th International Conference on Extending Database Technology, EDBT 2024 - Paestum, Italy
Duration: 25 Mar 202428 Mar 2024

Publication series

NameAdvances in Database Technology - EDBT
Number3
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 'TaC: An Anti-Caching Key-Value Store on Heterogeneous Memory Architectures'. Together they form a unique fingerprint.

Cite this