RTUComputer ScienceYr 2020 · Sem 82020

Q6Distributed Systems

Question

2 marks

Define mutual exclusion in distributed systems.

Answer

Mutual exclusion is a strict mathematical algorithm that violently prevents multiple distributed processes from simultaneously modifying a shared resource (like a database row), preventing catastrophic data corruption.

If two bank servers try to deduct $100 from an account simultaneously without mutual exclusion, a race condition occurs, mathematically destroying the database integrity. It is executed using centralized coordinators, token rings, or distributed voting algorithms (like Ricart-Agrawala).

Back to Paper