Distributed FIFO allocation of identical resources using small shared space

Michael J. Fischer, Nancy Lynch, James E. Burns, Allan Borodin

ACM Transactions on Programming Languages and Systems · 1989 · 86 citations · 18 references

DOIFull text

Open access

Concepts

Abstract

We present a simple and efficient algorithm for the FIFO allocation of k identical resources among asynchronous processes that communicate via shared memory. The algorithm simulates a shared queue but uses exponentially fewer shared memory values, resulting in practical savings of time and space as well as program complexity. The algorithm is robust against process failure through unannounced stopping, making it attractive also for use in an environment of processes of widely differing speeds. In addition to its practical advantages, we show that for fixed k , the shared space complexity of the algorithm as a function of the number N of processes is optimal to within a constant factor.

References

18