首页    期刊浏览 2024年11月30日 星期六
登录注册

文章基本信息

  • 标题:Design and Implementation of a Two-Phase Commit Protocol Simulator
  • 本地全文:下载
  • 作者:Toufik Taibi ; Abdelouahab Abid ; Wei Jiann Lim
  • 期刊名称:The International Arab Journal of Information Technology
  • 印刷版ISSN:1683-3198
  • 出版年度:2006
  • 卷号:3
  • 期号:1
  • 出版社:Zarqa Private University
  • 摘要:The Two-Phase Commit Protocol (2PC) is a set of rules, which guarantee that every single transaction in a distributed system is executed to its completion or none of its operations is performed. To show the effectiveness of 2PC, a generic simulator is designed and implemented to demonstrate how transactions are committed in a safe manner, and how data consistency is maintained in a distributed system with concurrent execution of randomly generated transactions. Several possible failure cases are identified and created in the system to test its integrity, thus showing how well it responds to different failure scenarios, recovers from these failures, and maintains data consistency and integrity. The simulator was developed using Java Remote Method Invocation (RMI), which is particularly powerful in developing networking systems of such scale, as it provides easy remote method calls without the need to handle low-level socket connection
  • 关键词:2PC; transaction coordinator; transaction manager; data manager; locking manager; failure recovery; RMI
国家哲学社会科学文献中心版权所有