Maekawa's algorithm

Last updated

Maekawa's algorithm is an algorithm for mutual exclusion on a distributed system. The basis of this algorithm is a quorum-like approach where any one site needs only to seek permissions from a subset of other sites.

Contents

Algorithm

Terminology

Algorithm

Requesting site:

Receiving site:

Critical section:

Quorum set ():
A quorum set must abide by the following properties:

  1. Site is contained in exactly request sets
Therefore:

Performance

See also

References

  1. "Maekawa's Mutual Exclusion Algorithm: Voting approach".
  2. "Distributed Mutual Exclusion" (PDF).

Transactions in Computer Systems, vol. 3., no. 2., pp. 145–159, 1985.