We consider the sequential allocation of $m$ balls (jobs) into $n$ bins (servers) by allowing each ball to choose from some bins sampled uniformly at random. The goal is to maintain a small gap between the maximum load and the average load. In this paper, we present a general framework that allows us to analyze various allocation processes that slightly prefer allocating into underloaded, as opposed to overloaded bins. Our analysis covers several natural instances of processes, including: The Caching process (a.k.a. memory protocol) as studied by Mitzenmacher, Prabhakar and Shah (2002): At each round we only take one bin sample, but we also have access to a cache in which the most recently used bin is stored. We place the ball into the least loaded of the two. The Packing process: At each round we only take one bin sample. If the load is below some threshold (e.g., the average load), then we place as many balls until the threshold is reached; otherwise, we place only one ball. The Twinning process: At each round, we only take one bin sample. If the load is below some threshold, then we place two balls; otherwise, we place only one ball. The Thinning process as recently studied by Feldheim and Gurel-Gurevich (2021): At each round, we first take one bin sample. If its load is below some threshold, we place one ball; otherwise, we place one ball into a $\textit{second}$ bin sample. As we demonstrate, our general framework implies for all these processes a gap of $\mathcal{O}(\log n)$ between the maximum load and average load, even when an arbitrary number of balls $m \geq n$ are allocated (heavily loaded case). Our analysis is inspired by a previous work of Peres, Talwar and Wieder (2010) for the $(1+\beta)$-process, however here we rely on the interplay between different potential functions to prove stabilization.
翻译:我们考虑将美元球( jobs) 依次分配到 $ bins (servers) 。 我们考虑将美元球( jobs) 分配到 $ bins (servers), 方法是允许每个球从某些垃圾桶中任意选择一个样本。 目标是在最大负载和平均负载之间保持一个小的间隔。 在本文中, 我们提出了一个总框架, 以便分析各种分配过程, 相对过量的垃圾桶进行分配。 我们的分析覆盖了几个过程的自然实例, 包括 Mitzenmacher、 Prabakar 和 Shah (2002年) 所研究的 Caching 进程( a. k. a. k. a. a. delim. remedimeals 协议 协议 ) : 在每一回合中, 我们只选取一个 bin 样, 我们只能选取一个 bin 样 。 如果最近将球放入一个 O 直径, 直径 直径, 直径直径直径直径直径, 。 ( 直径直径, 直径直径 直径直径直 直径直径直 。 。