论文部分内容阅读
事务处理是网格计算与 Web Services 能否投入实际应用尤其是商业应用的关键技术之一。用于网格环境与 Web Services 下的事务处理都必须同时提供协调短时操作和长时间的商业活动的能力。基于代理技术,本文分别提出了能够在网格环境下及 Web Services 环境下同时管理原子事务和聚合事务的事务协调机制,比较两者的异同。研究了相应的可以容错各种失败的协调算法。通过自动产生和执行补偿事务,聚合事务协调机制可以满足网格计算中对长事务的处理要求。使用补偿事务来撤消已提交的子事务所带来的影响,可以较好的满足 Web Services 环境下对长事务的要求,为 Web Services 投入商用提供有力的支持。
Transaction processing is one of the key technologies of whether grid computing and Web Services can be put into practical application, especially for commercial applications. Both transactions in Grid environments and Web Services must provide the ability to coordinate both short-term and long-term business activities. Based on the proxy technology, this paper proposes a transaction coordination mechanism that can manage both atomic transactions and aggregation transactions under the grid environment and Web Services environment, and compares the similarities and differences between the two. The corresponding coordination algorithms that can tolerate various failures are studied. By automatically generating and executing compensation transactions, the aggregation transaction coordination mechanism can satisfy the processing requirements of long transactions in grid computing. Using offset transactions to undo the impact of submitted sub-transactions can better meet the requirements of long transactions in the Web Services environment and provide strong support for the commercial deployment of Web Services.