Research Article

An Adaptive Hot-Cold Aware Two-Level Cache Mapping Framework for Distributed Caching Systems

Haidong Yin*
Sichuan University

* Corresponding author: [email protected]

Abstract

At present, most of the existing distributed cache systems use consistent hash to map data to nodes. However, the existing consistent hashing schemes focus on the data migration overhead in the process of node change, and ignore the access frequency skew problem in the real workload. When a small number of hot keys carry a large number of requests, the conventional hash mapping will lead to uneven node load, waste of resources, and seriously affect the performance of the cache system. To solve the above problems, this paper designs an adaptive cold and hot aware double-layer cache mapping framework. This framework first divides the data into cold data and hot data according to the access heat of the key, and then uses different mapping strategies for these two types of data. For cold data, stable mapping is used to improve cache affinity and reduce migration overhead. For hot data, the access pressure is dispersed through the dynamic allocation path at the request level. At the same time, an adaptive adjustment mechanism is added at runtime to dynamically complete the upgrade or downgrade of hotspots; From the experimental results, in the scenario of high hot spot tilt workload, this scheme can reduce the node load balancing coefficient to 3.47%, and also maintain stable performance when the dynamic load changes. The ablation experiment further shows that there is a synergy between the hot and cold double-layer mapping structure and the dynamic load sensing mechanism.

Keywords: Distributed cache; Consistent hash; Hot spot detection; Hot and cold separation; Load balancing
Published: October 27, 2026
DOI: 10.54254/2755-2721/2026.38112
Volume: ACE Vol.264
pp. 250-260
Download PDF

References

  1. Karger, D., Lehman, E., Leighton, T., et al. (1997). Consistent hashing and random trees: Distributed caching protocols for relieving hot spots on the world wide web.Proceedings of the Twenty-Ninth Annual ACM Symposium on Theory of Computing, 654–663.
  2. DeCandia, G., Hastorun, D., Jampani, M., et al. (2007). Dynamo: Amazon's highly available key-value store.ACM SIGOPS Operating Systems Review, 41(6), 205–220.
  3. Mendelson, G., Vargaftik, S., Barabash, K., et al. (2020). AnchorHash: A scalable consistent hash.IEEE/ACM Transactions on Networking, 29(2), 517–528.
  4. Nakatani, Y. (2021). Structured allocation-based consistent hashing with improved balancing for cloud infrastructure.IEEE Transactions on Parallel and Distributed Systems, 32(9), 2248–2261.
  5. Thaler, D. G., Ravishankar, C. V. (1998). Using name-based mappings to increase hit rates.IEEE/ACM Transactions on Networking, 6(1), 1–14.
  6. Uo, S., Li, B., Li, F., et al. (2026). SwapBackHash: State-compressed consistent hashing framework for arbitrary bucket removals.International Conference on Intelligent Computing. Singapore: Springer Nature Singapore, 171–184.
  7. Levi, Y., & Keslassy, I. (2023). Beyond the ring: Quantized heterogeneous consistent hashing. In2023 IEEE 31st International Conference on Network Protocols (ICNP)(pp. 1–12).
  8. Wang, C., Chen, Y., Wang, J., et al. (2023). A dynamic weights consistent hashing load balancing method based on heuristic optimization. In2023 3rd International Conference on Electronic Information Engineering and Computer Science (EIECS)(pp. 492–496). IEEE.
  9. Hou, J., Xie, W., Gu, Q., et al. (2016). Hierarchical consistent hashing for heterogeneous object-based storage. In2016 IEEE Trustcom/BigDataSE/ISPA(pp. 1597–1604). IEEE.
  10. Zhou, R., Zhang, X., Lui, J. C. S., et al. (2023). Dynamic pricing and placing for distributed machine learning jobs: An online learning approach.IEEE Journal on Selected Areas in Communications, 41(4), 1135–1150.
  11. Cormode, G., & Muthukrishnan, S. (2005). An improved data stream summary: The count-min sketch and its applications.Journal of Algorithms, 55(1), 58–75.