AN IMPROVED TRANSACTIONAL WORKFLOW MODEL BASED ON Sagas

Yan Gang,Chen Ying
DOI: https://doi.org/10.3969/j.issn.1000-386X.2010.03.047
2010-01-01
Abstract:There are three limitations in Sagas model: all sub-transactions must have the corresponding compensable transactions;any sub-transaction failure will make all other sub-transactions fail mandatory;cannot support concurrency execution of multiple transactions and instances well.Due to these reasons the Sagas model didn't be applied to business workflow system up to now.We propose an improved Sagas transactional workflow model against these limitations,in it the transaction properties are classified and the correlative relationship between sub-transactions is constructed to make it possible that the compensable sub-transaction failure won't cause all other sub-transactions fail mandatory.By introducing a compensation service the semantic of workflow is enriched;the concurrency operation algorithm of multiple transactions and instances based on transaction instance lock set and posterior sub-transaction type set is introduced as well.The model solves the existing problems of Sagas model.
What problem does this paper attempt to address?