Randomized Cup Game Algorithms Against Strong Adversaries
Michael A. Bender, William Kuszmaul
Abstract
In each step of the cup game on n cups, a filler distributes up to 1 – ∊ water among the cups, and then an emptier removes 1 unit of water from a single cup. The emptier's goal is to minimize the height of the fullest cup, also known as the backlog. The cup emptying game has found extensive applications to processor scheduling, network-switch buffer management, quality of service guarantees, and data-structure deamortization. The greedy emptying algorithm (i.e., always remove from the fullest cup) is known to achieve backlog O(log n) and to be the optimal deterministic algorithm. Randomized algorithms can do significantly better, achieving backlog O (log log n) with high probability, as long as ∊ is not too small. In order to achieve these improvements, the known randomized algorithms require that the filler is an oblivious adversary, unaware of which cups the emptier chooses to empty out of at each step. Such randomized guarantees are known to be impossible against fully adaptive fillers. We show that, even when the filler is just “slightly” non-adaptive, randomized emptying algorithms can still guarantee a backlog of O (log log n). In particular, we give randomized randomized algorithms against an elevated adaptive filler, which is an adaptive filler that can see the precise fills of every cup containing more than 3 units of water, but not of the cups containing less than 3 units.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get bc74c967-0a15-46bf-a9da-59b59b7778eeCited by top-tier papers1
Ask how each one uses itRelated papers
- Achieving Optimal Backlog in the Vanilla Multi-Processor Cup GameWilliam KuszmaulSODA 2020 · 10 citations
- How asymmetry helps buffer management: achieving optimal tail size in cup gamesWilliam KuszmaulSTOC 2021
- Balanced Allocations: The Heavily Loaded Case with DeletionsNikhil Bansal, William KuszmaulFOCS 2022 · 6 citations
- History-Independent Load BalancingMichael A. Bender, William Kuszmaul, Elaine Shi, Rose SilverSODA 2026 · 1 citation
- Deterministic Online Bipartite Edge ColoringJoakim Blikstad, Ola Svensson, Radu Vintan, David WajcSODA 2025 · 3 citations
