作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (18): 98-99,1. doi: 10.3969/j.issn.1000-3428.2006.18.035

• 网络与通信 • 上一篇    下一篇

Web Services事务非阻塞2PC模型的实现与测试

杨海涛1,2,3 ;陈楚潮4;林锦堂4   

  1. 1. 中国科学院计算技术研究所,北京 100080;2. 中国科学院研究生院,北京 100080; 3. 广东省建设信息中心,广州 510500;4. 广州大学信息与机电工程学院,广州 510405
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-09-20 发布日期:2006-09-20

Implementation and Test of Non-blocking 2PC Model for Web Services Transaction

YANG Haitao1,2,3;CHEN Chuchao4;LIN Jintang4   

  1. 1. Computing Technology Institute, CAS, Beijing 100080; 2. Graduate School, CAS, Beijing 100080; 3. Construction Information Center of Guangdong Province, Guangzhou 510500; 4. Information & Electrical Engineering College, Guangzhou University, Guangzhou 510405
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-09-20 Published:2006-09-20

摘要: 在改进BTP 2PC with timeouts的timeout设定及相关时序的前提下,提出了一类面向细粒度事务终止特性的非阻塞扩展2PC模型(Tx2PCt)。提供了Tx2PCt事务处理模型于主要商业开发平台环境(Microsoft .Net)上的测试实例及分析。测试结果支持了Tx2PCt 事务协议的前提设定的合理性,印证了Tx2PCt在事务吞吐量方面的表现与预期相吻合。

关键词: Web services事务协议模型, 测试实例, 例外, 成功事务吞吐量

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