TY - JOUR
T1 - An efficient deadlock prevention approach for service oriented transaction processing
AU - Tang, Feilong
AU - You, Ilsun
AU - Yu, Shui
AU - Wang, Cho Li
AU - Guo, Minyi
AU - Liu, Wenlong
PY - 2012/1
Y1 - 2012/1
N2 - Transaction processing can guarantee the reliability of business applications. Locking resources is widely used in distributed transaction management (e.g., two phase commit, 2PC) to keep the system consistent. The locking mechanism, however, potentially results in various deadlocks. In service oriented architecture (SOA), the deadlock problem becomes even worse because multiple (sub)transactions try to lock shared resources in the unexpectable way due to the more randomicity of transaction requests, which has not been solved by existing research results. In this paper, we investigate how to prevent local deadlocks, caused by the resource competition among multiple sub-transactions of a global transaction, and global deadlocks from the competition among different global transactions. We propose a replication based approach to avoid the local deadlocks, and a timestamp based approach to significantly mitigate the global deadlocks. A general algorithm is designed for both local and global deadlock prevention. The experimental results demonstrate the effectiveness and efficiency of our deadlock prevention approach. Further, it is also proved that our approach provides higher system performance than traditional resource allocation schemes.
AB - Transaction processing can guarantee the reliability of business applications. Locking resources is widely used in distributed transaction management (e.g., two phase commit, 2PC) to keep the system consistent. The locking mechanism, however, potentially results in various deadlocks. In service oriented architecture (SOA), the deadlock problem becomes even worse because multiple (sub)transactions try to lock shared resources in the unexpectable way due to the more randomicity of transaction requests, which has not been solved by existing research results. In this paper, we investigate how to prevent local deadlocks, caused by the resource competition among multiple sub-transactions of a global transaction, and global deadlocks from the competition among different global transactions. We propose a replication based approach to avoid the local deadlocks, and a timestamp based approach to significantly mitigate the global deadlocks. A general algorithm is designed for both local and global deadlock prevention. The experimental results demonstrate the effectiveness and efficiency of our deadlock prevention approach. Further, it is also proved that our approach provides higher system performance than traditional resource allocation schemes.
KW - Deadlock prevention
KW - Distributed transaction processing
KW - Replication
KW - Service oriented architecture (SOA)
KW - Two-phase commit (2PC)
UR - https://www.scopus.com/pages/publications/84855422787
U2 - 10.1016/j.camwa.2011.07.063
DO - 10.1016/j.camwa.2011.07.063
M3 - 文章
AN - SCOPUS:84855422787
SN - 0898-1221
VL - 63
SP - 458
EP - 468
JO - Computers and Mathematics with Applications
JF - Computers and Mathematics with Applications
IS - 2
ER -