Skip to main content

ToMAL: Token-Based Fair Mutual Exclusion Algorithm

  • Conference paper
  • First Online:
Computer Information Systems and Industrial Management (CISIM 2021)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 12883))

  • 720 Accesses

Abstract

Token-based mutual exclusion (ME) algorithms for distributed systems have gained much attention over the years due to their inherent safety property. Safety property ensures that only one process executes the critical section at any instant of time. Raymond, et al. have proposed a token-based ME algorithm that uses an inverted-tree topology. The solution is simple, fast, and widely accepted by the community. However, a major drawback of Raymond’s algorithm is that it fails to satisfy the fairness property in terms of the first-come-first-serve policy among equal-priority processes requesting the token. Several attempts have been initiated to resolve this issue. In this work, we provide a new token-based ME algorithm (ToMAL) that, similar to Raymond’s algorithm, works on inverted tree topology. The proposed solution not only ensures the fairness property but also requires very little additional storage in a node. We have compared our proposed approach ToMAL with another existing work. The comparative performances are studied in terms of storage space and control messages.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Agrawal, D., Abbadi, A.E.: An efficient and fault-tolerant solution for distributed mutual exclusion. ACM Trans. Comput. Syst. 9(1), 1–20 (1991)

    Article  Google Scholar 

  2. Buckley, G.N., Silberschatz, A.: A failure tolerant centralized mutual exclusion algorithm, pp. 347–356 (1984)

    Google Scholar 

  3. Challenger, M., Haytaoglu, E., Tokatli, G., Dagdeviren, O., Erciyes, K.: A hybrid distributed mutual exclusion algorithm for cluster-based systems. Math. Prob. Eng. 1–15 (2013)

    Google Scholar 

  4. Housni, A., Trehel, M.: Distributed mutual exclusion token-permission based by prioritized groups, pp. 253–259 (2001)

    Google Scholar 

  5. Kanrar, S.., Chaki, N..: Modified Raymond’s Algorithm for priority (MRA-P) based mutual exclusion in distributed systems. In: Madria, Sanjay K.., Claypool, Kajal T.., Kannan, Rajgopal, Uppuluri, Prem, Gore, Manoj Madhava (eds.) ICDCIT 2006. LNCS, vol. 4317, pp. 325–332. Springer, Heidelberg (2006). https://doi.org/10.1007/11951957_29

    Chapter  Google Scholar 

  6. Kanrar, S., Chaki, N.: FAPP: a new fairness algorithm for priority process mutual exclusion in distributed systems. J. Netw. 5(1), 11–18 (2010)

    Google Scholar 

  7. Kanrar, S., Chattopadhyay, S., Chaki, N.: A new link failure resilient priority based fair mutual exclusion algorithm for distributed systems. J. Netw. Syst. Manag. 21(1), 1–24 (2013)

    Article  Google Scholar 

  8. Mittal, N., Mohan, P.K.: A priority-based distributed group mutual exclusion algorithm when group access is non-uniform. J. Parallel Distrib. Comput. 67(7), 797–815 (2007)

    Article  Google Scholar 

  9. Mueller, F.: Prioritized token-based mutual exclusion for distributed systems. In: Proceedings of the First Merged International Parallel Processing Symposium and Symposium on Parallel and Distributed Processing, pp. 791–795 (1998)

    Google Scholar 

  10. Raymond, K.: A tree-based algorithm for distributed mutual exclusion. ACM Trans. Comput. Syst. 7(1), 61–77 (1989)

    Article  Google Scholar 

  11. Ricart, G., Agrawala, A.K.: An optimal algorithm for mutual exclusion in computer networks. Commun. ACM 24(1), 9–17 (1981)

    Article  MathSciNet  Google Scholar 

  12. Suzuki, I., Kasami, T.: A distributed mutual exclusion algorithm. ACM Trans. Comput. Syst. 3(4), 344–349 (1985)

    Article  Google Scholar 

  13. Swaroop, A., Singh, A.K.: A distributed group mutual exclusion algorithm for soft real time systems. In: World Academy of Science, Engineering and Technology, International Journal of Computer, Control, Quantum and Information Engineering, vol. 1, no. 8 (2007)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mandira Roy .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kar, D., Roy, M., Chaki, N. (2021). ToMAL: Token-Based Fair Mutual Exclusion Algorithm. In: Saeed, K., DvorskĂ˝, J. (eds) Computer Information Systems and Industrial Management. CISIM 2021. Lecture Notes in Computer Science(), vol 12883. Springer, Cham. https://doi.org/10.1007/978-3-030-84340-3_32

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-84340-3_32

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-84339-7

  • Online ISBN: 978-3-030-84340-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics