Lune

SODA2023Top-tier venue

Balanced Allocations with Heterogeneous Bins: The Power of Memory

Dimitrios Los, Thomas Sauerwald, John Sylvester

Abstract

We consider the allocation of m balls (jobs) into n bins (servers). In the standard Two-Choice process, at each step t = 1, 2, . . . , m we first sample two bins uniformly at random and place a ball in the least loaded bin. It is well-known that for any m n, this results in a gap (difference between the maximum and average load) of log 2 log n + Θ(1) (with high probability). In this work, we consider the Memory process [29] where instead of two choices, we only sample one bin per step but we have access to a cache which can store the location of one bin. Mitzenmacher, Prabhakar and Shah [25] showed that in the lightly loaded case (m = n), the Memory process achieves a gap of O(log log n).

Extending the setting of Mitzenmacher et al. in two ways, we first allow the number of balls m to be arbitrary, which includes the challenging heavily loaded case where m n. Secondly, we follow the heterogeneous bins model of Wieder [32], where the sampling distribution of bins can be biased up to some arbitrary multiplicative constant. Somewhat surprisingly, we prove that even in this setting, the Memory process still achieves an O(log log n) gap bound. This is in stark contrast with the Two-Choice (or any d-Choice with d = O(1)) process, where it is known that the gap diverges as m → ∞ [32]. Further, we show that for any sampling distribution independent of m (but possibly dependent on n) the Memory process has a gap that can be bounded independently of m. Finally, we prove a tight gap bound of O(log n) for Memory in another relaxed setting with heterogeneous (weighted) balls and a cache which can only be maintained for two steps.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Balls and Bins and the Infinite Process with Random Deletions cites Balanced Allocations: Caching and Packing, Twinning and Thinning
  • Load is not what you should balance: Introducing Prequal cites Balanced Allocations: Caching and Packing, Twinning and Thinning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Load is not what you should balance: Introducing PrequalBartek Wydrowski, Robert Kleinberg, Stephen M. Rumble, Aaron ArcherNSDI 2024 · 22 citations
  2. Balls and Bins and the Infinite Process with Random DeletionsPetra Berenbrink, Tom Friedetzky, Peter Kling, Lars NagelSODA 2026

Builds on1

  1. Balanced Allocations: Caching and Packing, Twinning and ThinningDimitrios Los, Thomas Sauerwald, John SylvesterSODA 2022 · 8 citations

Related papers

  1. Balanced Allocations: The Heavily Loaded Case with DeletionsNikhil Bansal, William KuszmaulFOCS 2022 · 6 citations
  2. The power of two choices in graphical allocationNikhil Bansal, Ohad N. FeldheimSTOC 2022 · 5 citations
  3. History-Independent Load BalancingMichael A. Bender, William Kuszmaul, Elaine Shi, Rose SilverSODA 2026 · 1 citation
  4. Linear Hashing Is OptimalMichael Jaber, Vinayak M. Kumar, David ZuckermanSTOC 2025 · 1 citation
  5. Robust Load Balancing with Machine Learned AdviceSara Ahmadian, Hossein Esfandiari, Vahab S. Mirrokni, Binghui PengSODA 2022 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines