Abstract
nowadays, the most controversial issue is transaction in database systems or web services. Specifically, in the area of service-oriented computing, where business transactions always need long periods of time to finish. In the case of a failure rollback, which is the traditional method, it will not be enough and not suitable for handling errors during long running transactions. As a substitute, the most appropriate approach is compensation which is used as an error recovery mechanism. Therefore, transactions that need a long time to complete are programmed as a composition of a set of compensable transactions. This study attempts to design several compensation policies in the long running web transaction especially when the transaction has parallel threads. Meabwhile, one thread in sequence steps of the transaction may fail. This paper also describes and models many different ways to compensate to the thread. Moreover, this study proposes a system to implement creating long running transactions as well as simulating failures by using compensation policies.
Highlights
Over the past decades, business transactions have become incredibly important and compound
Because of the communication involved with various agents transactions became more and more important and longer, delivering ACID transactions unsuitable
The system allows users to choose between diagrams that saved or to create dynamic diagrams
Summary
Business transactions have become incredibly important and compound. It is usually refered to as coordinations and communications between multiple partners. In this case, faults are possible at any stage of the transactions. In standard ACID transaction, (with properties of Atomicity, Consistency, Isolation, and Durability), solving and handling faults are done by using a rollback mechanism to provide all or nothing atomicity for transactions [1]. LRTs usually involve more than one agent. It can be seen that handling faults or errors are difficult and critical, when several partners are involved. LRTs need a comprehensive and separate mechanism to solve such problems. In order to terminate such problems the system need to be designed as a compensation mechanism for those actions that cannot be undone
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
More From: International Journal of Advanced Computer Science and Applications
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.