English

Perfectly Balanced Allocation With Estimated Average Using Expected Constant Retries

Data Structures and Algorithms 2011-12-30 v3

Abstract

Balanced allocation of online balls-into-bins has long been an active area of research for efficient load balancing and hashing applications.There exists a large number of results in this domain for different settings, such as parallel allocations~\cite{parallel}, multi-dimensional allocations~\cite{multi}, weighted balls~\cite{weight} etc. For sequential multi-choice allocation, where mm balls are thrown into nn bins with each ball choosing dd (constant) bins independently uniformly at random, the maximum load of a bin is O(loglogn)+m/nO(\log \log n) + m/n with high probability~\cite{heavily_load}. This offers the current best known allocation scheme. However, for d=Θ(logn)d = \Theta(\log n), the gap reduces to O(1)O(1)~\cite{soda08}.A similar constant gap bound has been established for parallel allocations with O(logn)O(\log ^*n) communication rounds~\cite{lenzen}. In this paper we propose a novel multi-choice allocation algorithm, \emph{Improved D-choice with Estimated Average} (IDEAIDEA) achieving a constant gap with a high probability for the sequential single-dimensional online allocation problem with constant dd. We achieve a maximum load of m/n\lceil m/n \rceil with high probability for constant dd choice scheme with \emph{expected} constant number of retries or rounds per ball. We also show that the bound holds even for an arbitrary large number of balls, m>>nm>>n. Further, we generalize this result to (i)~the weighted case, where balls have weights drawn from an arbitrary weight distribution with finite variance, (ii)~multi-dimensional setting, where balls have DD dimensions with ff randomly and uniformly chosen filled dimension for m=nm=n, and (iii)~the parallel case, where nn balls arrive and are placed parallely in the bins. We show that the gap in these case is also a constant w.h.p. (independent of mm) for constant value of dd with expected constant number of retries per ball.

Keywords

Cite

@article{arxiv.1111.0801,
  title  = {Perfectly Balanced Allocation With Estimated Average Using Expected Constant Retries},
  author = {Sourav Dutta and Souvik Bhattacherjee and Ankur Narang},
  journal= {arXiv preprint arXiv:1111.0801},
  year   = {2011}
}
R2 v1 2026-06-21T19:30:21.269Z