Balanced Allocations: The Heavily Loaded Case with Deletions
Abstract
In the 2-choice allocation problem, balls are placed into bins, and each ball must choose between two random bins that it has been assigned to. It has been known for more than two decades, that if each ball follows the Greedy strategy (i.e., always pick the less-full bin), then the maximum load will be with high probability in (and with high probability in ). It has remained open whether the same bounds hold in the dynamic version of the same game, where balls are inserted/deleted with up to balls present at a time. We show that these bounds do not hold in the dynamic setting: already on bins, there exists a sequence of insertions/deletions that cause {Greedy} to incur a maximum load of with probability -- this is the same bound as if each ball is simply assigned to a random bin! This raises the question of whether any 2-choice allocation strategy can offer a strong bound in the dynamic setting. Our second result answers this question in the affirmative: we present a new strategy, called ModulatedGreedy, that guarantees a maximum load of , at any given moment, with high probability in . Generalizing ModulatedGreedy, we obtain dynamic guarantees for the -choice setting, and for the setting of balls-and-bins on a graph. Finally, we consider a setting in which balls can be reinserted after they are deleted, and where the pair that a given ball uses is consistent across insertions. This seemingly small modification renders tight load balancing impossible: on 4 bins, any strategy that is oblivious to the specific identities of balls must allow for a maximum load of at some point in the first insertions/deletions, with high probability in .
Keywords
Cite
@article{arxiv.2205.06558,
title = {Balanced Allocations: The Heavily Loaded Case with Deletions},
author = {Nikhil Bansal and William Kuszmaul},
journal= {arXiv preprint arXiv:2205.06558},
year = {2022}
}