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

Read more

Summary

Introduction

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

Objectives
Results
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call