Distributed Mutual Exclusion Based on Causal Ordering
Mohamed Naimi & Ousmane Thiare
Journal of Computer Science, Volume 5, Issue 5, pp. 398–404 · doi.org/10.3844/jcssp.2009.398.404
Abstract
Problem statement: Causality among events, more formally the causal ordering relation, is a powerful tool for analyzing and drawing inferences about distributed systems. The knowledge of the causal ordering relation between processes helps designers and the system itself solve a variety of problems in distributed systems. In distributed algorithms design, such knowledge helped ensure fairness and liveness in distributed algorithms, maintained consistent in distributed databases and helped design deadlock-detection algorithm. It also helped to build a checkpoint in failure recovery and detect data inconsistencies in replicated distributed databases. Approach: In this study, we implemented the causal ordering in Suzuki-Kasami’s token based algorithm in distributed systems. Suzuki-Kasami’s token based algorithm in distributed algorithm that realized mutual exclusion among n processes. Two files sequence numbers were used one to compute the number of requests sent and the other to compute the number of entering in critical section. Results: The causal ordering was guaranteed between requests. If a process Pi requested the critical section before a process Pj, then the process Pi will enter its critical section before the process Pj. Conclusion: The algorithm presented here, assumes that if a request req was sent before a request req’s, then the request req will be satisfied before req’s.
Licence and reuse
Free to read. This article carries the publisher’s copyright, as printed on it: © 2009 Science Publications. It is free to read; ask us before reusing it.
How to reuse this articleResponses (0)
About this article
Naimi, M. & Thiare, O. (2009). Distributed Mutual Exclusion Based on Causal Ordering. Journal of Computer Science, 5(5), 398–404. https://doi.org/10.3844/jcssp.2009.398.404
- Licence
- © Science Publications
- Issue
- Volume 5, Issue 5
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
