Title :
An Effective Deadlock Prevention Mechanism for Distributed Transaction Management
Author :
Lou, Lin ; Tang, Feilong ; You, Ilsun ; Guo, Minyi ; Shen, Yao ; Li, Li
Author_Institution :
Dept. of Comput. & Sci., Shanghai Jiao Tong Univ., Shanghai, China
fDate :
June 30 2011-July 2 2011
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. Researches 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.
Keywords :
business data processing; distributed processing; service-oriented architecture; transaction processing; SOA infrastructure; deadlock prevention mechanism; distributed transaction management; global transaction deadlock prevention; replica mechanisms; resource locking; timestamps mechanisms; two-phase commit protocol; Distributed databases; Protocols; Resource management; Service oriented architecture; System recovery; Throughput; Deadlock Prevention; Distributed Transaction; Replica; Two-phase commit;
Conference_Titel :
Innovative Mobile and Internet Services in Ubiquitous Computing (IMIS), 2011 Fifth International Conference on
Conference_Location :
Seoul
Print_ISBN :
978-1-61284-733-7
Electronic_ISBN :
978-0-7695-4372-7
DOI :
10.1109/IMIS.2011.109