English

Balls and Bins and the Infinite Process with Random Deletions

Distributed, Parallel, and Cluster Computing 2025-10-17 v1 Data Structures and Algorithms Probability

Abstract

We consider an infinite balls-into-bins process with deletions where in each discrete step tt a coin is tossed as to whether, with probability β(t)(0,1)\beta(t) \in (0,1), a new ball is allocated using the Greedy[2] strategy (which places the ball in the lower loaded of two bins sampled uniformly at random) or, with remaining probability 1β(t)1-\beta(t), a ball is deleted from a non-empty bin chosen uniformly at random. Let nn be the number of bins and m(t)m(t) the total load at time tt. We are interested in bounding the discrepancy xmax(t)m(t)/nx_{\max}(t) - m(t)/n (current maximum load relative to current average) and the overload xmax(t)mmax(t)/nx_{\max}(t) - m_{\max}(t)/n (current maximum load relative to highest average observed so far). We prove that at an arbitrarily chosen time tt the total number of balls above the average is O(n)O(n) and that the discrepancy is O(log(n)) O(\log(n)). For the discrepancy, we provide a matching lower bound. Furthermore we prove that at an arbitrarily chosen time tt the overload is loglog(n)+O(1)\log\log(n)+O(1). For "good" insertion probability sequences (in which the average load of time intervals with polynomial length increases in expectation) we show that even the discrepancy is bounded by loglog(n)+O(1)\log\log(n)+O(1). One of our main analytical tools is a layered induction, as per [ABKU99]. Since our model allows for rather more general scenarios than what was previously considered, the formal analysis requires some extra ingredients as well, in particular a detailed potential analysis. Furthermore, we simplify the setup by applying probabilistic couplings to obtain certain "recovery" properties, which eliminate much of the need for intricate and careful conditioning elsewhere in the analysis.

Keywords

Cite

@article{arxiv.2510.14798,
  title  = {Balls and Bins and the Infinite Process with Random Deletions},
  author = {Petra Berenbrink and Tom Friedetzky and Peter Kling and Lars Nagel},
  journal= {arXiv preprint arXiv:2510.14798},
  year   = {2025}
}
R2 v1 2026-07-01T06:41:35.706Z