分布式事务协调器

微软分布式事务协调器DTC)是Windows操作系统自Windows 2000引入的跨多种资源,如数据库、消息队列、文件系统,跨应用程序域、进程、机器以至跨网络的分布式事务处理的所有参与者的协调。可与COM与.NET Framework等架构配合工作。

事务完成时,会启动两阶段提交协议:

  • 第一阶段提交:根机器上的DTC通知参与事务的所有远程机器上的DTC收集自己机器上所有资源管理器的投票结果,并返回给根机器上的DTC。
  • 第二阶段提交:根机器上的DTC综合所有资源管理器的投票结果,然后通知参与事务的所有远程机器上的DTC通知自己机器上所有资源管理器提交事务或终止事务。

参见
*内核事务管理器

参考文献
*[https://technet.microsoft.com/en-us/library/aa174499(v=sql.80).aspx MS DTC Service] TechNet Microsoft
*[http://msdn.microsoft.com/en-us/library/ms684146.aspx Distributed Transaction Coordinator] on the Microsoft Developer Network
*[http://support.microsoft.com/?kbid=899191 New functionality in the Distributed Transaction Coordinator service in Windows Server 2003 Service Pack 1 and in Windows XP Service Pack 2]
*[http://blogs.msdn.com/florinlazar/ Florin Lazar's weblog], a Microsoft developer blog with extensive discussions on MSDTC and transaction processing
*[https://web.archive.org/web/20100108100416/http://www.microsoft.com/presspass/exec/techfellow/Agsen/default.mspx]; Mohsen Agsen is a Technical Fellow who formed the core transaction group, which designed and delivered the Distributed Transaction Coordinator (DTC)

评论 (0)

  • 还没有评论,来抢沙发吧。