Asynchronous Exclusive Selection

We consider the task of assigning unique integers to a group of processes in an asynchronous distributed system of a total of processes prone to crashes that communicate through shared read-write registers. In the Renaming problem, an arbitrary group of processes that hold the original names from a range , contend to acquire unique integers in a smaller range as new names using some auxiliary shared registers. We give number of wait-free renaming algorithms, in particular an adaptive one having as a bound on the range of new names that operates in local steps and uses registers. As a lower bound, we show that a wait-free solution to Renaming requires steps in the worst case. We apply renaming algorithms to obtain solutions to Store&Collect problem, which is about a group of processes with the original names in a range proposing individual values (operation Store) and returning a view of all proposed values (operation Collect), while using some auxiliary shared read-write registers. We consider a problem Mining-Names, in which processes may repeatedly request positive integers as new names subject to the constraints that no integer can be assigned to different processes and the number of integers never acquired as names is finite in an infinite execution. We give two solutions to Mining-Names in a distributed system in which there are infinitely many shared read-write registers available. A non-blocking solution leaves at most nonnegative integers never assigned as names, and a wait-free algorithm leaves at most nonnegative integers never assigned as names.
View on arXiv