Adaptive Deadlock Detection and Resolution in Real-Time Distributed Environments

In real-time distributed transaction processing, deadlocks must be detected and resolved. Timeouts are not a viable option because they lead to lost work and missed deadlines. We have proposed a suite of deadlock detection protocols and a resolution protocol which carry a varying degree of (generally low) overhead. The protocols behave differently under varying load conditions and transaction characteristics. Further, the invocation period of these protocols can be controlled to improve performance when the overhead tends to become large. The performance of these protocols has been demonstrated using a distributed real-time transaction processing simulator which provides an interactive interface to set parameters, and also has provisions to select from a variety of concurrency control, priority assignment, workload distribution and other protocols. The impact of transaction workload, underlying system configuration, resource availability, detection rates, and congestion on each of the proposed protocols is observed and presented. In general, the multi-cycle detection protocol demonstrated the most superior performance over a broad range of parameters. The results presented in this paper were obtained from over 147,000 simulations.

[1]  Hector Garcia-Molina,et al.  An Overview of Real-Time Database Systems , 1995, NATO ASI RTC.

[2]  Waqar Haque,et al.  Simulation of a complex distributed real-time database system , 2007, SpringSim '07.

[3]  Sanjeev Verma,et al.  Deadlocks in Distributed Systems , 2014 .

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

[5]  S. K. Setua,et al.  A semi-centralized algorithm using adaptive gossip to detect and resolve distributed deadlocks , 2016, 2016 International Conference on Advances in Computing, Communication, & Automation (ICACCA) (Spring).

[6]  Waqar Haque,et al.  Effect of Network Topology on the Performance of Adaptive Speculative Locking Protocol , 2011 .

[7]  Laura M. Haas,et al.  Distributed deadlock detection , 1983, TOCS.

[8]  Vandana Kate,et al.  A survey on distributed deadlock and distributed algorithms to detect and resolve deadlock , 2016, 2016 Symposium on Colossal Data Analysis and Networking (CDAN).

[10]  César Sánchez,et al.  Efficient distributed deadlock avoidance with liveness guarantees , 2006, EMSOFT '06.

[11]  Ugo Buy,et al.  Preventing database deadlocks in applications , 2013, ESEC/FSE 2013.

[12]  B. M. Monjurul Alom,et al.  Optimization of Detected Deadlock Views of Distributed Database , 2010, 2010 International Conference on Data Storage and Data Engineering.

[13]  C. V. Ramamoorthy,et al.  Protocols for Deadlock Detection in Distributed Database Systems , 1982, IEEE Transactions on Software Engineering.

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