Lune

SODA2022Top-tier venue

Balanced Allocations: Caching and Packing, Twinning and Thinning

Dimitrios Los, Thomas Sauerwald, John Sylvester

Abstract

We consider the sequential allocation of m balls (jobs) into n bins (servers) by allowing each ball to choose from some bins sampled uniformly at random. The goal is to maintain a small gap between the maximum load and the average load.

In this paper, we present a general framework that allows us to analyze various allocation processes that slightly prefer allocating into underloaded, as opposed to overloaded bins. Our analysis covers several natural instances of processes, including:

• The Caching process (a.k.a. memory protocol) as studied by Mitzenmacher, Prabhakar and Shah (2002): At each round we only take one bin sample, but we also have access to a cache in which the most recently used bin is stored. We place the ball into the least loaded of the two.

• The Packing process: At each round we only take one bin sample. If the load is below some threshold (e.g., the average load), then we place as many balls until the threshold is reached; otherwise, we place only one ball.

• The Twinning process: At each round, we only take one bin sample. If the load is below some threshold, then we place two balls; otherwise, we place only one ball.

• The Thinning process as recently studied by Feldheim and Gurel-Gurevich (2021): At each round, we first take one bin sample. If its load is below some threshold, we place one ball; otherwise, we place one ball into a second bin sample.

As we demonstrate, our general framework implies for all these processes a gap of O(log n) between the maximum load and average load, even when an arbitrary number of balls m ⩾ n are allocated (heavily loaded case). Our analysis is inspired by a previous work of Peres, Talwar and Wieder (2010) for the (1 + β)-process, however here we rely on the interplay between different potential functions to prove stabilization.

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.

5 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

  • Succinct and Fast Tiny Pointer Hash Tables cites Balanced Allocations: The Heavily Loaded Case with Deletions
  • Balls and Bins and the Infinite Process with Random Deletions cites Balanced Allocations with Heterogeneous Bins: The Power of Memory
  • Balls and Bins and the Infinite Process with Random Deletions cites Balanced Allocations: The Heavily Loaded Case with Deletions
  • Load is not what you should balance: Introducing Prequal cites Balanced Allocations with Heterogeneous Bins: The Power of Memory
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Load is not what you should balance: Introducing PrequalBartek Wydrowski, Robert Kleinberg, Stephen M. Rumble, Aaron ArcherNSDI 2024 · 22 citations
  2. Balanced Allocations: The Heavily Loaded Case with DeletionsNikhil Bansal, William KuszmaulFOCS 2022 · 6 citations
  3. Balanced Allocations with Heterogeneous Bins: The Power of MemoryDimitrios Los, Thomas Sauerwald, John SylvesterSODA 2023 · 5 citations
  4. Succinct and Fast Tiny Pointer Hash TablesXilin Tang, Yuqi Mai, William Kuszmaul, Alex ConwayVLDB 2026
  5. Balls and Bins and the Infinite Process with Random DeletionsPetra Berenbrink, Tom Friedetzky, Peter Kling, Lars NagelSODA 2026

Related papers

  1. The power of two choices in graphical allocationNikhil Bansal, Ohad N. FeldheimSTOC 2022 · 5 citations
  2. Load balancing with dynamic set of balls and binsAnders Aamand, Jakob Bæk Tejs Knudsen, Mikkel ThorupSTOC 2021 · 4 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