事务(transaction)

事务

由一组操作组成的完整的可被取消的工作单元.

这里试图解释的事务不只是数据库事务,也包括数据库事务,通常在一个不稳定的操作环境中,需要保证这个工作单元(暂时在这里称之为事务)中所有操作的结果一致。

Composite Transactions for SOA 写道
A transaction is defined as a task that is composed of one or more operations or related interactions that may need to be cancelled or “rolled back” after the point of execution.


A long running transaction is a transaction where the total duration exceeds the duration of an individual interaction by many orders of magnitude. In this situation, the cancellation of an individual interaction within a long transaction may occur long after the interaction has been executed.