Distributed FIFO allocation of identical resources using small shared space

  • Authors:
  • Michael J. Fischer;Nancy A. Lynch;James E. Burns;Allan Borodin

  • Affiliations:
  • Yale Univ., New Haven, CT;Massachusetts Institute of Technology, Cambridge;Georgia Institute of Technology, Atlanta;Univ. of Toronto, Toronto, Ont., Canada

  • Venue:
  • ACM Transactions on Programming Languages and Systems (TOPLAS)
  • Year:
  • 1989

Quantified Score

Hi-index 0.00

Visualization

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.