Balanced Allocation on Graphs: A Random Walk Approach
Abstract
In this paper we propose algorithms for allocating n sequential balls into n bins that are interconnected as a d-regular n-vertex graph G, where d3 can be any integer.Let l be a given positive integer. In each round t, 1 t n, ball t picks a node of G uniformly at random and performs a non-backtracking random walk of length l from the chosen node.Then it allocates itself on one of the visited nodes with minimum load (ties are broken uniformly at random). Suppose that G has a sufficiently large girth and d=ω( n). Then we establish an upper bound for the maximum number of balls at any bin after allocating n balls by the algorithm, called maximum load, in terms of l with high probability. We also show that the upper bound is at most an O( n) factor above the lower bound that is proved for the algorithm. In particular, we show that if we set l=( n)1+ε2, for every constant ε∈ (0, 1), and G has girth at least ω(l), then the maximum load attained by the algorithm is bounded by O(1/ε) with high probability.Finally, we slightly modify the algorithm to have similar results for balanced allocation on d-regular graph with d∈[3, O( n)] and sufficiently large girth.