Balanced Allocations and Double Hashing
Abstract
Double hashing has recently found more common usage in schemes that use multiple hash functions. In double hashing, for an item $x$, one generates two hash values $f(x)$ and $g(x)$, and then uses combinations $(f(x) +k g(x)) \bmod n$ for $k=0,1,2,...$ to generate multiple hash values from the initial two. We first perform an empirical study showing that, surprisingly, the performance difference between double hashing and fully random hashing appears negligible in the standard balanced allocation paradigm, where each item is placed in the least loaded of $d$ choices, as well as several related variants. We then provide theoretical results that explain the behavior of double hashing in this context.
BibTeX
@inproceedings{mitzenmacher2014balanced,
author = {Michael Mitzenmacher},
title = {{Balanced Allocations and Double Hashing}},
booktitle = {SPAA},
year = {2014},
doi = {10.1145/2612669.2612684},
}Ask Althea to put this paper to the test.
| More Analysis of Double Hashing for Balanced Allocations | Analco · 2016 |
| Power of d Choices with Simple Tabulation | ICALP · 2018 |
| Consistent Hashing with Bounded Loads | arXiv · 2016 |
| Balanced Allocations: A Simple Proof for the Heavily Loaded Case | arXiv · 2013 |
| Self-stabilizing Balls & Bins in Batches | arXiv · 2016 |
| Balanced allocation on graphs | arXiv · 2005 |