ReachingAgreementinthePresenceofFaults分析.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ReachingAgreementinthePresenceofFaults分析

Reaching Agreement in the Presence of Faults M. Pease, R. Shotak and L. Lamport Introduction The algorithm proposed by this paper offers the means by which independent processes can arrive at an exact mutual agreement. The algorithm works for greater than or equal to 3m+1 total processes (where m processes are faulty) Assumptions There are n isolated processes and no more than m are faulty Faulty processes need not be identified Processors communicate by means of two-party message The communication channel is fail-safe and has negligible delay Sender of a message is identifiable Goal Devise an algorithm based on an exchange of messages that allows each non-faulty process to compute an interactive consistency vector (of n values) such that The non-faulty processes compute the exact same vector The elements of the vector corresponding to a given non-faulty process is the private value of that process The above goal helps achieve interactive consistency The vector corresponding to the faulty process may be arbitrary as long as all non-faulty processes compute the exact same value for any faulty process No-Fault Case If there are no faults, each process will have the same interactive consistency vector (i.e., Each process has an identical vector containing the private values of each process) Single-Fault Case Consider obtaining interactive consistency for m=1 and n=4 Two rounds of information exchange are required Exchange private values in the first round Exchange results of the first round in the second round All non-faulty processes can record ‘NIL’ for the faulty process ICV value or the majority value for the faulty process is used Single-Fault Case M-fault Case m+1 rounds of information exchange are required to obtain interactive consistency in a system of m faulty processes Either the majority or NIL is used for vector values If broadcast is used for communication from round 2 onwards, a maximum of n*(m+1) messages are exchanged before an agreement is reached.

文档评论(0)

yaocen + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档