A concurrent distributed deadlock detection/resolution algorithm for distributed systems

  • Authors:
  • Cheng Xin;Yang Xiaozong

  • Affiliations:
  • School of Computer Science and Engineering, Harbin Institute of Technology, Harbin, China;School of Computer Science and Engineering, Harbin Institute of Technology, Harbin, China

  • Venue:
  • ISTASC'05 Proceedings of the 5th WSEAS/IASME International Conference on Systems Theory and Scientific Computation
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Numerous deadlock detection algorithms were proposed for distributed systems, but most of them assumed the static wait-for graph (WFG), which is inconsistent with the dynamic application environment of distributed systems, in fact they can not run concurrently. A novel instance of diffusion-computation algorithms is proposed in this paper to resolve the concurrency problem. In our algorithm, a Dynamic WFG (DWFG) is raised, where the blocked transactions creating or quitting is responded to the nodes joining or disappearing in DWFG. Three additional detection termination conditions are assigned for the concurrent running of the proposed algorithm: the being detected node is a leaf or quitted, or fault occurs in the system. By these methods the concurrent running detections can terminate eventually and the deadlock can be resolved correctly. The correctness of the proposed algorithm is proven. Performance evaluation shows the time and message complexity of our algorithm outperforms the existing algorithms under a static WFG.