arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2411.03174cs.DB
收藏

ZipCache:内置透明压缩的DRAM/SSD缓存

ZipCache: A DRAM/SSD Cache with Built-in Transparent Compression

Rui Xie, Linsen Ma, Alex Zhong, Feng Chen, Tong Zhang

AI总结:

针对键值缓存扩容难及压缩方案存在的索引不适配、读写放大等问题,本文提出集成压缩的DRAM-SSD混合缓存ZipCache,通过重构索引、数据管理并结合计算型SSD优化,实现吞吐量提升、延迟降低与写放大减少。

摘要:

作为现代数据中心的核心组件,键值缓存为高速数据处理提供高吞吐量、低延迟的服务。键值缓存的有效性取决于其容纳所需数据的能力。然而,受服务器成本、散热问题、机架空间甚至人力开支等诸多实际约束,扩展缓存容量往往比普遍预期的更困难。压缩是一种潜在解决方案,它通过压缩缓存中的数据来虚拟扩展缓存容量。在实践中,这个看似简单的思路并未在键值缓存系统设计中得到广泛应用,原因在于若干关键问题:不利于压缩的索引结构、严重的读写放大、不必要的解压操作以及高昂的计算成本。本文提出一种DRAM-SSD混合缓存设计,以实现数据压缩在键值缓存中的系统级集成。我们将压缩作为核心组件,重新设计了索引结构与数据管理机制,并利用新兴的计算型SSD硬件开展协同优化。我们开发了名为ZipCache的原型系统。实验结果表明,ZipCache的吞吐量最高可提升72.4%,延迟最高可降低42.4%,同时写放大最高可减少26.2倍。

英文摘要:

As a core component in modern data centers, key-value cache provides high-throughput and low-latency services for high-speed data processing. The effectiveness of a key-value cache relies on its ability of accommodating the needed data. However, expanding the cache capacity is often more difficult than commonly expected because of many practical constraints, such as server costs, cooling issues, rack space, and even human resource expenses. A potential solution is compression, which virtually extends the cache capacity by condensing data in cache. In practice, this seemingly simple idea has not gained much traction in key-value cache system design, due to several critical issues: the compression-unfriendly index structure, severe read/write amplification, wasteful decompression operations, and heavy computing cost. This paper presents a hybrid DRAM-SSD cache design to realize a systematic integration of data compression in key-value cache. By treating compression as an essential component, we have redesigned the indexing structure, data management, and leveraged the emerging computational SSD hardware for collaborative optimizations. We have developed a prototype, called ZipCache. Our experimental results show that ZipCache can achieve up to 72.4% higher throughput and 42.4% lower latency, while reducing the write amplification by up to 26.2 times.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑