Balanced allocation: Memory performance tradeoffs

Type: Article

Publication Date: 2012-08-01

Citations: 9

DOI: https://doi.org/10.1214/11-aap804

Abstract

Suppose we sequentially put $n$ balls into $n$ bins. If we put each ball into a random bin then the heaviest bin will contain ${\sim}\log n/\log\log n$ balls with high probability. However, Azar, Broder, Karlin and Upfal [SIAM J. Comput. 29 (1999) 180–200] showed that if each time we choose two bins at random and put the ball in the least loaded bin among the two, then the heaviest bin will contain only ${\sim}\log\log n$ balls with high probability. How much memory do we need to implement this scheme? We need roughly $\log\log\log n$ bits per bin, and $n\log\log\log n$ bits in total. Let us assume now that we have limited amount of memory. For each ball, we are given two random bins and we have to put the ball into one of them. Our goal is to minimize the load of the heaviest bin. We prove that if we have $n^{1-\delta}$ bits then the heaviest bin will contain at least $\Omega(\delta\log n/\log\log n)$ balls with high probability. The bound is tight in the communication complexity model.

Locations

  • arXiv (Cornell University) - View - PDF
  • DataCite API - View
  • The Annals of Applied Probability - View - PDF

Similar Works

Action Title Year Authors
+ PDF Chat Choice-memory tradeoff in allocations 2010 Noga Alon
Ori Gurel-Gurevich
Eyal Lubetzky
+ PDF Chat Balanced Allocations with Heterogeneous Bins: The Power of Memory 2023 Dimitrios Los
Thomas Sauerwald
John Sylvester
+ PDF Chat Balanced allocations and double hashing 2014 Michael Mitzenmacher
+ PDF Chat Balanced Allocation: Patience Is Not a Virtue 2022 John Augustine
William K. Moses
Amanda Redlich
Eli Upfal
+ Derandomized Balanced Allocation 2017 Xue Chen
+ PDF Chat Derandomized Balanced Allocation 2019 Xue Chen
+ Balanced Allocations with Incomplete Information: The Power of Two Queries. 2021 Dimitrios Los
Thomas Sauerwald
+ Efficient Hashing with Lookups in two Memory Accesses 2004 Rina Panigrahy‎
+ PDF Chat Parallel Balanced Allocations 2019 Christoph Lenzen
Merav Parter
Eylon Yogev
+ PDF Chat Parallel Balanced Allocations: The Heavily Loaded Case 2019 Christoph Lenzen
Merav Parter
Eylon Yogev
+ PDF Chat Parallel Balanced Allocations: The Heavily Loaded Case 2019 Christoph Lenzen
Merav Parter
Eylon Yogev
+ PDF Chat Balanced Allocation: Patience is not a Virtue 2015 John Augustine
William K. Moses
Amanda Redlich
Eli Upfal
+ Balanced allocation on graphs 2006 Krishnaram Kenthapadi
Rina Panigrahy‎
+ PDF Chat Balanced allocation on graphs 2006 Krishnaram Kenthapadi
Rina Panigrahy‎
+ Consistent Hashing with Bounded Loads 2016 Vahab Mirrokni
Mikkel Thorup
Morteza Zadimoghaddam
+ Consistent Hashing with Bounded Loads 2016 Vahab Mirrokni
Mikkel Thorup
Morteza Zadimoghaddam
+ Perfectly Balanced Allocation With Estimated Average Using Expected Constant Retries 2011 Sourav Dutta
Souvik Bhattacherjee
Ankur Narang
+ Balanced allocations 2000 Petra Berenbrink
Artur Czumaj
Angelika Steger
Berthold Vöcking
+ The Power of Filling in Balanced Allocations 2022 Dimitrios Los
Thomas Sauerwald
John Sylvester
+ Balanced Allocations with Incomplete Information: The Power of Two Queries 2021 Dimitrios Los
Thomas Sauerwald