The 1-2-3-Toolkit for Building Your Own Balls-into-Bins Algorithm
نویسندگان
چکیده
In this work, we examine a generic class of simple distributed balls-into-bins algorithms. Exploiting the strong concentration bounds that apply to balls-into-bins games, we provide an iterative method to compute accurate estimates of the remaining balls and the load distribution after each round. Each algorithm is classified by (i) the load that bins accept in a given round, (ii) the number of messages each ball sends in a given round, and (iii) whether each such message is given a rank expressing the sender’s inclination to commit to the receiving bin (if feasible). This novel ranking mechanism results in notable improvements, in particular in the number of balls that may commit to a bin in the first round of the algorithm. Simulations independently verify the correctness of the results and confirm that our approximation is highly accurate even for a moderate number of 10 balls and bins.
منابع مشابه
Advanced Algorithm Design: Load Balancing
During last lecture, we showed that using the simple randomized strategy when assigning n balls to n bins, max load = O log n log log n. We now consider a more intelligent strategy of assigning balls to bins and show that it results in a suprising improvement over the above result. 1.1 Power of two choices In our new strategy, we choose two bins uniformly at random and place the ball in the bin...
متن کاملMultiple-Choice Balanced Allocation in (Almost) Parallel
We consider the problem of resource allocation in a parallel environment where new incoming resources are arriving online in groups or batches. We study this scenario in an abstract framework of allocating balls into bins. We revisit the allocation algorithm GREEDY[2] due to Azar, Broder, Karlin, and Upfal (SIAM J. Comput. 1999), in which, for sequentially arriving balls, each ball chooses two ...
متن کاملLecture 3: Counting
Example 3. How many ways are there to put m balls into n bins. Assume m ≤ n. 1. Balls are distinct and bins are distinct. Every ball has n choices. Hence n. Exercise 2. Why is the answer not m by looking at the opposite argument. 2. Balls are not distinct but bins are distinct. Take m identical balls and n− 1 identical sticks and permute them. Every permutation gives a different arrangement. So...
متن کاملFractional Matching Via Balls-and-Bins
In this paper we relate the problem of finding structures related to perfect matchings in bipartite graphs to a stochastic process similar to throwing balls into bins. Given a bipartite graph with n nodes on each side, we view each node on the left as having balls that it can throw into nodes on the right (bins) to which it is adjacent. If each node on the left throws exactly one ball and each ...
متن کاملBalls into Bins Made Faster
Balls-into-bins games describe in an abstract setting several multiple-choice scenarios, and allow for a systematic and unified theoretical treatment. In the process that we consider, there are n bins, initially empty, and m = bcnc balls. Each ball chooses independently and uniformly at random k ≥ 3 bins. We are looking for an allocation such that each ball is placed into one of its chosen bins...
متن کامل