HPUCache: Toward High Performance and Resource Utilization in Clustered Cache via Data Copying and Instance Merging

Qianli Wang,Si Wu,Yongkun Li,Yinlong Xu,Fei Chen,Pengcheng Wang,Lei Han
DOI: https://doi.org/10.1109/IWQoS54832.2022.9812925
2022-01-01
Abstract:As one of the most popular in-memory cache systems, Redis provides low-latency and high-performance data access for modern internet services. However, in large-scale Redis systems, the access skewness and locality in storage workloads induce a small number of hot-spot instances with degraded system performance and massive cold instances with low CPU utilization. This paper proposes HPUCache to address the hot-spots via data copying and cold instances via instance merging. HPUCache fully utilizes the cached mapping in Redis client, and dynamically updates this mapping to enable access to the multiple data copies. Hence it can manage multiple copies achieving both Redis client compatibility and high user access performance. It also proposes an asynchronous instance merging strategy based on disk snapshots and temporal caches, which separates the massive data movement from the critical user access path to achieve high performance instance merging. We integrate HPUCache into Redis. Experiments under two types of workloads show that, compared to the native Redis design, HPUCache achieves 2.4× and 3.5× performance gains, 2× and 6× CPU utilization gains respectively.
What problem does this paper attempt to address?