An effective deadlock prevention mechanism for distributed transaction management

Lin Lou, Feilong Tang, Ilsun You, Minyi Guo, Yao Shen, Li Li

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

3 Scopus citations

Abstract

Recently there has been an increasingly use of SOA infrastructure. Most of business applications need the transaction management to guarantee the system consistency, typically by resource locks. High availability and performance of resource managers are extremely critical for business services. Researchs have shown that deadlock can be easily produced when multi-process try to access the shared resources if some basic synchronization mechanism is adopted. In addition, existing resource locking based two-phase commit protocol requires that each transaction obtains all needed locks before the second commit phase. This locking mechanism may lead to potential deadlocks and can pose significant limitations on applications that need to share resources between transactions. In this paper, we propose a novel solution, for distributed transaction services, utilizing the advanced replicas and timestamps mechanisms to prevent deadlocks. Our approach makes use of existing lock policies with replicas to solve guaranteed deadlocks and compares conservative locking and timestamps based restart policy for global transaction deadlock prevention. Further, we also demonstrate that our approach significantly improves the performance for both serialization and deadlock prevention. Our experimental results show that no deadlock occurs after utilizing our prevention mechanisms. Finally, we also observe that timestamps based restart policy is more suitable for global resource allocation and outperforms over related solutions.

Original languageEnglish
Title of host publicationProceedings - 2011 5th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing, IMIS 2011
Pages120-127
Number of pages8
DOIs
StatePublished - 2011
Externally publishedYes
Event2011 5th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing, IMIS 2011 - Seoul, Korea, Republic of
Duration: 30 Jun 20112 Jul 2011

Publication series

NameProceedings - 2011 5th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing, IMIS 2011

Conference

Conference2011 5th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing, IMIS 2011
Country/TerritoryKorea, Republic of
CitySeoul
Period30/06/112/07/11

Keywords

  • Deadlock Prevention
  • Distributed Transaction
  • Replica
  • Two-phase commit

Fingerprint

Dive into the research topics of 'An effective deadlock prevention mechanism for distributed transaction management'. Together they form a unique fingerprint.

Cite this