Abstract:
The BTP uses a two-phase outcome coordination protocol with a complete set of timeout parameters (shortly 2PCt) to ensure the overall application achieves a consistent result. With respect to the above situations this paper has posed a category of non-blocking extended two-phase commit (2PC) protocol Tx2PCt (stand for Termination properties-oriented eXtended 2PC with Timeouts) to evolve BTP’s 2PCt. It mainly gives some implementation and test examples of Tx2PCt model, which are developed in a major Web services commercial developing platform—Microsoft ASP.NET. The testing results show the rationality of the Tx2PCt model’s premises, and justify that the Tx2PCt’s behavior is according with the expectation in the aspect of success transaction throughput.
Key words:
Web services transaction model,
Test example,
Exception,
Throughput of success transaction
摘要: 在改进BTP 2PC with timeouts的timeout设定及相关时序的前提下,提出了一类面向细粒度事务终止特性的非阻塞扩展2PC模型(Tx2PCt)。提供了Tx2PCt事务处理模型于主要商业开发平台环境(Microsoft .Net)上的测试实例及分析。测试结果支持了Tx2PCt 事务协议的前提设定的合理性,印证了Tx2PCt在事务吞吐量方面的表现与预期相吻合。
关键词:
Web services事务协议模型,
测试实例,
例外,
成功事务吞吐量
YANG Haitao;;CHEN Chuchao;LIN Jintang. Implementation and Test of Non-blocking 2PC Model for Web Services Transaction[J]. Computer Engineering, 2006, 32(18): 98-99,1.
杨海涛; ;陈楚潮;林锦堂. Web Services事务非阻塞2PC模型的实现与测试[J]. 计算机工程, 2006, 32(18): 98-99,1.