A two-phase commit protocol and its performance

Boutros C. Boutros, B. Desai
{"title":"A two-phase commit protocol and its performance","authors":"Boutros C. Boutros, B. Desai","doi":"10.1109/DEXA.1996.558282","DOIUrl":null,"url":null,"abstract":"A number of schemes have been used in distributed database systems to coordinate the execution of the subtransactions of a global transaction. We study the performance of a simple modification to the basic two phase commit protocol called Prudent Two Phase Commit protocol. The protocol gives the transaction a second chance before it decides to abort it. This prudent approach prevents a transaction from aborting in case of transient communication failures and hence improves system performance and reliability. To measure the performance of this protocol, we simulate a distributed database system. The performance of this simulated distributed system is measured while using the Prudent, Basic, and Optimistic Two Phase Commit protocols. The results of this simulation study are presented with a discussion and interpretation of the graphs generated by the simulation. The results confirm the improvement in system performance with the Prudent Two Phase Commit Protocol.","PeriodicalId":438695,"journal":{"name":"Proceedings of 7th International Conference and Workshop on Database and Expert Systems Applications: DEXA 96","volume":"22 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1996-09-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"21","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of 7th International Conference and Workshop on Database and Expert Systems Applications: DEXA 96","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/DEXA.1996.558282","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 21

Abstract

A number of schemes have been used in distributed database systems to coordinate the execution of the subtransactions of a global transaction. We study the performance of a simple modification to the basic two phase commit protocol called Prudent Two Phase Commit protocol. The protocol gives the transaction a second chance before it decides to abort it. This prudent approach prevents a transaction from aborting in case of transient communication failures and hence improves system performance and reliability. To measure the performance of this protocol, we simulate a distributed database system. The performance of this simulated distributed system is measured while using the Prudent, Basic, and Optimistic Two Phase Commit protocols. The results of this simulation study are presented with a discussion and interpretation of the graphs generated by the simulation. The results confirm the improvement in system performance with the Prudent Two Phase Commit Protocol.
两阶段提交协议及其性能
在分布式数据库系统中,已经使用了许多方案来协调全局事务的子事务的执行。我们研究了对基本的两阶段提交协议的一个简单修改,称为谨慎的两阶段提交协议的性能。协议在决定终止事务之前给事务第二次机会。这种谨慎的方法可以防止事务在瞬态通信失败的情况下中断,从而提高系统性能和可靠性。为了测量该协议的性能,我们模拟了一个分布式数据库系统。在使用谨慎、基本和乐观两阶段提交协议时,对这个模拟分布式系统的性能进行了测量。本文给出了仿真研究的结果,并对仿真生成的图形进行了讨论和解释。结果证实了谨慎的两阶段提交协议对系统性能的改善。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信