A Two-Layer Hybrid Algorithm for Achieving Mutual Exclusion in Distributed Systems
Quazi Ehsanul, Mamun Kabir, Mortuza Ali, Salahuddin Mohammad Masum, Mohammad Abdur Rahim Mustafa · 2004
Abstract:- Mutual exclusion problem is the problem of ensuring that certain portions of program code are executed within critical regions, where no two programs are permitted to be in critical regions at the same time. This problem arises in both centralized and distributed systems. Unfortunately, all the three basic approaches – centralized, distributed and token ring proposed for achieving mutual exclusion in distributed systems are said to be good for distributed systems in some abstract way only. In this paper, we have presented a two-layer hybrid algorithm for achieving mutual exclusion in distributed systems. The algorithm presented in this paper requires less number of message passing with reduced amount of load on coordinators. The algorithm is also fault tolerant in the sense that the crash of a coordinator can easily be detected and recovered.