DIDACache
Authors:
Open Access
- 31 August 2018
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Storage
- Vol. 14 (3) , 1-32
Abstract
Key-value caching is crucial to today’s low-latency Internet services. Conventional key-value cache systems, such as Memcached, heavily rely on expensive DRAM memory. To lower Total Cost of Ownership, the industry recently is moving toward more cost-efficient flash-based solutions, such as Facebook’s McDipper [14] and Twitter’s Fatcache [56]. These cache systems typically take commercial SSDs and adopt a Memcached-like scheme to store and manage key-value cache data in flash. Such a practice, though simple, is inefficient due to the huge semantic gap between the key-value cache manager and the underlying flash devices. In this article, we advocate to reconsider the cache system design and directly open device-level details of the underlying flash storage for key-value caching. We propose an enhanced flash-aware key-value cache manager, which consists of a novel unified address mapping module, an integrated garbage collection policy, a dynamic over-provisioning space management, and a customized wear-leveling policy, to directly drive the flash management. A thin intermediate library layer provides a slab-based abstraction of low-level flash memory space and an API interface for directly and easily operating flash devices. A special flash memory SSD hardware that exposes flash physical details is adopted to store key-value items. This co-design approach bridges the semantic gap and well connects the two layers together, which allows us to leverage both the domain knowledge of key-value caches and the unique device properties. In this way, we can maximize the efficiency of key-value caching on flash devices while minimizing its weakness. We implemented a prototype, called DIDACache, based on the Open-Channel SSD platform. Our experiments on real hardware show that we can significantly increase the throughput by 35.5%, reduce the latency by 23.6%, and remove unnecessary erase operations by 28%.Keywords
Funding Information
- Louisiana Board of Regents (LEQSF(2014-17)-RD-A-01)
- U.S. National Science Foundation (CCF-1453705 and CCF-1629291)
- Research Grants Council of the Hong Kong Special Administrative Region, China (GRF 152223/15E, GRF 152736/16E and GRF 152066/17E)
This publication has 22 references indexed in Scilit:
- Memory partitioning in Memcached: An experimental performance analysis2014
- An efficient design and implementation of LSM-tree based key-value store on open-channel SSD2014
- SDF2014
- BLog2013
- FlashTier2012
- SILT2011
- Differentiated storage services2011
- MNFTL2011
- Algorithms and data structures for flash memoriesACM Computing Surveys, 2005
- The design and implementation of a log-structured file systemACM Transactions on Computer Systems, 1992