An Efficient Detection and Resolution of Generalized Deadlocks in Distributed Systems

In this paper, we propose a new algorithm to detect and resolve distributed deadlocks in the generalized model. The initiator of the proposed algorithm diffuses the probes along the outgoing edges of Wait-For Graph (WFG) and collects the replies that carry the dependency information between processes directly. However, the initiator simplifies the unblocking conditions of blocked nodes in response to a reply form an unblocked node and receives almost two replies from any node unlike the earlier algorithms. It finally declares all the nodes that have not been reduced as deadlocked. We also prove the correctness of the algorithm. It has a worst-case time complexity of d+1 and message complexity of less than e+2n where d is the diameter, e is the number of edges and n is the number of nodes in the WFG. Since the termination detection of the proposed algorithm is isolated from deadlock detection, it minimizes the message length into a constant without using any explicit technique. It is the significant improvement over the existing algorithms. It also minimizes additional rounds of messages to resolve deadlocks.

[1]  Henri Prade,et al.  Flexible querying of semistructured data: A fuzzy‐set‐based approach , 2007, Int. J. Intell. Syst..

[2]  Ron Obermarck,et al.  Distributed deadlock detection algorithm , 1982, TODS.

[3]  Sam Toueg,et al.  A distributed algorithm for generalized deadlock detection , 1984, PODC '84.

[4]  Patrice Buche,et al.  Approximate Querying of XML Fuzzy Data , 2006, FQAS.

[5]  LamportLeslie Time, clocks, and the ordering of events in a distributed system , 1978 .

[6]  Soojung Lee,et al.  Fast, Centralized Detection and Resolution of Distributed Deadlocks in the Generalized Model , 2004, IEEE Trans. Software Eng..

[7]  Ajay D. Kshemkalyani,et al.  Distributed detection of generalized deadlocks , 1997, Proceedings of 17th International Conference on Distributed Computing Systems.

[8]  Chinya V. Ravishankar,et al.  On-line detection and resolution of communication deadlocks , 1994, 1994 Proceedings of the Twenty-Seventh Hawaii International Conference on System Sciences.

[9]  Junguk L. Kim,et al.  Performance Analysis of Distributed Deadlock Detection Algorithms , 2001, IEEE Trans. Knowl. Data Eng..

[10]  Rada Chirkova,et al.  Efficiently Querying Large XML Data Repositories: A Survey , 2007, IEEE Transactions on Knowledge and Data Engineering.

[11]  Leslie Lamport,et al.  Time, clocks, and the ordering of events in a distributed system , 1978, CACM.

[12]  Marco Furini,et al.  International Journal of Computer and Applications , 2010 .

[13]  Sourav S. Bhowmick,et al.  Every Click You Make, IWill Be Fetching It: Efficient XML Query Processing in RDMS Using GUI-driven Prefetching , 2006, 22nd International Conference on Data Engineering (ICDE'06).

[14]  Scott Boag,et al.  XQuery 1.0 : An XML Query Language , 2007 .

[15]  Ajay D. Kshemkalyani,et al.  A One-Phase Algorithm to Detect Distributed Deadlocks in Replicated Databases , 1999, IEEE Trans. Knowl. Data Eng..

[16]  Junguk L. Kim,et al.  An efficient distributed deadlock detection algorithm , 1995, Proceedings of 15th International Conference on Distributed Computing Systems.

[17]  Wang-Chuan Tsai Distributed deadlock detection in distributed database systems , 1982 .

[18]  Patrick Bosc,et al.  SQLf: a relational database language for fuzzy querying , 1995, IEEE Trans. Fuzzy Syst..

[19]  Yi Deng,et al.  Optimal deadlock detection in distributed systems based on locally constructed wait-for graphs , 1996, Proceedings of 16th International Conference on Distributed Computing Systems.

[20]  Mukesh Singhal,et al.  Deadlock Models and a General Algorithm for Distributed Deadlock Detection , 1996, J. Parallel Distributed Comput..

[21]  Soojung Lee,et al.  Efficient generalized deadlock detection and resolution in distributed systems , 2001, Proceedings 21st International Conference on Distributed Computing Systems.

[22]  Marlene Goncalves,et al.  A New Step towards Flexible XQuery , 2007 .

[23]  Ajay D. Kshemkalyani,et al.  Efficient Detection and Resolution of Generalized Distributed Deadlocks , 1994, IEEE Trans. Software Eng..

[24]  G. Radhamani,et al.  Fuzzy Logic Based XQuery operations for Native XML Database Systems , 2009 .

[25]  Kenneth Magel,et al.  Deadlock detection in distributed database systems: a performance evaluation study , 1991, [1991] Proceedings The Fifteenth Annual International Computer Software & Applications Conference.

[26]  Walter A. Burkhard,et al.  Resolution of Deadlocks in Object-Oriented Distributed Systems , 1989, IEEE Trans. Computers.

[27]  Mukesh Singhal,et al.  Deadlock detection in distributed systems , 1989, Computer.