随机负载均衡中略多于一个样本的力量

The Power of Slightly More than One Sample in Randomized Load Balancing

Mathematics of Operations Research · 2017
被引 103 · 同刊同年前 6%
ABS 3

中文导读

研究在云计算中,利用任务成批到达的特点,通过每批任务只采样略多于批大小的服务器子集,提出批填充负载均衡方法,大幅降低采样开销并减少队列延迟。

Abstract

In many computing and networking applications, arriving tasks have to be routed to one of many servers, with the goal of minimizing queueing delays. When the number of processors is very large, a popular routing algorithm works as follows: select two servers at random and route an arriving task to the least loaded of the two. It is well known that this algorithm dramatically reduces queueing delays compared to an algorithm, which routes to a single randomly selected server. In recent cloud computing applications, it has been observed that even sampling two queues per arriving task can be expensive and can even increase delays due to messaging overhead. So there is an interest in reducing the number of sampled queues per arriving task. In this paper, we show that the number of sampled queues can be dramatically reduced by using the fact that tasks arrive in batches (called jobs). In particular, we sample a subset of the queues such that the size of the subset is slightly larger than the batch size (thus, on average, we only sample slightly more than one queue per task). Once a random subset of the queues is sampled, we propose a new load-balancing method called batch-filling to attempt to equalize the load among the sampled servers. We show that, asymptotically, our algorithm dramatically reduces the sample complexity compared to previously proposed algorithms.

云计算负载均衡队列理论分布式系统路由算法