平衡分配:耐心不是美德
Balanced Allocation: Patience is not a Virtue
摘要:
负载均衡是一个研究得很好的问题,其中balls-in-bins是主要的框架。Azar等人的贪心算法$\mathsf{Greedy}[d]$通过探测$d > 1$随机箱并将球放置在其中负载最少的箱中来放置每个球。$\mathsf{Greedy}[d]$下的最大载荷以高概率指数方式低于球均匀随机放置时的结果。Vöcking表明,一种稍微不对称的变体$\mathsf{Left}[d]$提供了进一步的显着改善。然而,这种改进带来了在箱上施加结构的额外计算成本。在这里,我们提出了一个完全分散和易于实现的算法称为$\mathsf{FirstDiff}[d]$,结合了简单的$\mathsf{Greedy}[d]$和改进的平衡$\mathsf{Left}[d]$。$\mathsf{FirstDiff}[d]$中的关键思想是进行探测,直到找到与第一次观测不同的箱大小,然后放置球。虽然探针的数量可能是相当大的一些球,我们表明,$\mathsf{FirstDiff}[d]$只需要最多$d$探针平均每个球(在标准和重载设置)。因此,探针的数目不大于$\mathsf{Greedy}[d]$或$\mathsf{Left}[d]$的数目。更重要的是,我们表明,$\mathsf{FirstDiff}[d]$密切匹配的改进的最大负载确保$\mathsf{Left}[d]$在标准和重载设置。我们还提供了一个严格的下限上的最大负载高达$O(\log \log \log n)$条款。我们还给出了实验数据,$\mathsf{FirstDiff}[d]$确实是一样好的$\mathsf{Left}[d]$,如果不是更好,在实践中。
英文摘要:
Load balancing is a well-studied problem, with balls-in-bins being the primary framework. The greedy algorithm $\mathsf{Greedy}[d]$ of Azar et al. places each ball by probing $d > 1$ random bins and placing the ball in the least loaded of them. With high probability, the maximum load under $\mathsf{Greedy}[d]$ is exponentially lower than the result when balls are placed uniformly randomly. Vöcking showed that a slightly asymmetric variant, $\mathsf{Left}[d]$, provides a further significant improvement. However, this improvement comes at an additional computational cost of imposing structure on the bins. Here, we present a fully decentralized and easy-to-implement algorithm called $\mathsf{FirstDiff}[d]$ that combines the simplicity of $\mathsf{Greedy}[d]$ and the improved balance of $\mathsf{Left}[d]$. The key idea in $\mathsf{FirstDiff}[d]$ is to probe until a different bin size from the first observation is located, then place the ball. Although the number of probes could be quite large for some of the balls, we show that $\mathsf{FirstDiff}[d]$ requires only at most $d$ probes on average per ball (in both the standard and the heavily-loaded settings). Thus the number of probes is no greater than either that of $\mathsf{Greedy}[d]$ or $\mathsf{Left}[d]$. More importantly, we show that $\mathsf{FirstDiff}[d]$ closely matches the improved maximum load ensured by $\mathsf{Left}[d]$ in both the standard and heavily-loaded settings. We further provide a tight lower bound on the maximum load up to $O(\log \log \log n)$ terms. We additionally give experimental data that $\mathsf{FirstDiff}[d]$ is indeed as good as $\mathsf{Left}[d]$, if not better, in practice.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。