This document discusses deadlock detection in distributed systems. It begins with defining deadlock and providing an example of a deadlock situation. It then explains that deadlock detection is more challenging in distributed systems due to factors like message loss and lack of shared memory. The document outlines three strategies for deadlock handling - detection and recovery, prevention, and avoidance. It proposes two approaches for deadlock detection in distributed systems: 1) using a central coordinator to merge wait-for graphs or 2) having all machines broadcast their wait-for graphs to detect deadlocks in a distributed way. Both approaches have drawbacks like single point of failure or overhead.
Related topics: