Revisiting Consistent Hashing with Bounded Loads
John Chen, Benjamin Coleman, Anshumali Shrivastava
Abstract
Dynamic load balancing lies at the heart of distributed caching. Here, the goal is to assign objects (load) to servers (computing nodes) in a way that provides load balancing while at the same time dynamically adjusts to the addition or removal of servers. Load balancing is a critical topic in many areas including cloud systems, distributed databases, and distributed and data-parallel machine learning. A popular and widely adopted solution to dynamic load balancing is the two-decade-old Consistent Hashing (CH). Recently, an elegant extension was provided to account for server bounds. In this paper, we identify that existing methodologies for CH and its variants suffer from cascaded overflow, leading to poor load balancing. This cascading effect leads to decreasing performance of the hashing procedure with increasing load. To overcome the cascading effect, we propose a simple solution to CH based on recent advances in fast minwise hashing. We show, both theoretically and empirically, that our proposed solution is significantly superior for load balancing and is optimal in many senses. On the AOL search dataset and Indiana University Clicks dataset with real user activity, our proposed solution reduces cache misses by several magnitudes.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers2
- On-demand Container Loading in AWS LambdaMarc Brooker, Mike Danilov, Chris Greenwood, Phil PiwonkaUSENIX ATC 2023 · 73 citations
- Locality-aware Load-Balancing For Serverless ClustersAlexander Fuerst, Prateek SharmaHPDC 2022 · 38 citations
Related papers
- Load balancing with dynamic set of balls and binsAnders Aamand, Jakob Bæk Tejs Knudsen, Mikkel ThorupSTOC 2021 · 4 citations
- HotHash: Hotness-Aware Consistent Hashing for Cloud DatabasesJunyong Zhao, Jia Yuan, Zui Chen, Samuel Madden et al.SIGMOD 2026
- Robust Load Balancing with Machine Learned AdviceSara Ahmadian, Hossein Esfandiari, Vahab S. Mirrokni, Binghui PengSODA 2022 · 5 citations
- MapEmbed: Perfect Hashing with High Load Factor and Fast UpdateYuhan Wu, Zirui Liu, Xiang Yu, Jie Gui et al.KDD 2021 · 14 citations
- VIP Hashing - Adapting to Skew in Popularity of Data on the FlyAarati Kakaraparthy, Jignesh M. Patel, Brian Kroth, Kwanghyun ParkVLDB 2022 · 14 citations
