Hash & Adjust: Competitive Demand-Aware Consistent Hashing
Abstract
Distributed systems often serve dynamic workloads and resource demands evolve over time. Such a temporal behavior stands in contrast to the static and demand-oblivious nature of most data structures used by these systems. In this paper, we are particularly interested in consistent hashing, a fundamental building block in many large distributed systems. Our work is motivated by the hypothesis that a more adaptive approach to consistent hashing can leverage structure in the demand, and hence improve storage utilization and reduce access time. We initiate the study of demand-aware consistent hashing. Our main contribution is H&A, a constant-competitive online algorithm (i.e., it comes with provable performance guarantees over time). H&A is demand-aware and optimizes its internal structure to enable faster access times, while offering a high utilization of storage. We further evaluate H&A empirically.
Cite
@article{arxiv.2411.11665,
title = {Hash & Adjust: Competitive Demand-Aware Consistent Hashing},
author = {Arash Pourdamghani and Chen Avin and Robert Sama and Maryam Shiran and Stefan Schmid},
journal= {arXiv preprint arXiv:2411.11665},
year = {2024}
}
Comments
This paper has been accepted to International Conference on Principles of Distributed Systems (OPODIS 2024)