分布式算法课件7.ppt

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

Round lower bound, f = 1 Next execution, α2, removes message 1 →3. α1 and α2 indistinguishable to everyone except 1 and 3, hence to some nonfaulty process. Next, remove message 1 →4. Indistinguishable to some nonfaulty process. * Continuing… Having removed all of process 1’s msgs, change 1’s input from 0 to 1. Looks the same to everyone else. We can’t just keep removing msgs, since we are allowed at most one failure in each execution. So, we continue by replacing missing messages, one at a time. Repeat with process 2, 3, and 4, eventually reach the last execution: all inputs 1, no failures. * Special Case: f = 2 Theorem 6: Suppose n ≥4. There is no n-process 2-fault stopping agreement algorithm in which nonfaulty processes always decide at the end of round 2. Proof: Suppose A exists. Construct another chain of execs, each with at most 2 failures. This time a bit longer and more complicated. * Special Case: f = 2 Proof: Suppose A exists. Construct another chain of execs, each with at most 2 failures. Start with α0:All processes have input 0, no failures, 2 rounds: Work toward αn, all 1’s, no failures. Each consecutive pair is indistinguishable to some nonfaulty process. Use intermediate execs αi, in which: Processes 1,…,i have initial value 1. Processes i+1,…,n have initial value 0. No failures. * Special Case: f = 2 Show how to connect α0 and α1. That is, change process 1’s initial value from 0 to 1. Other intermediate steps essentially the same. Start with α0, work toward killing p1 at the beginning, to change its initial value, by removing msgs. Then replace the messages, working back up to α1. Start by removing p1’s round 2 messages, one by one. Q: Continue by removing p1’s round 1 messages? No, because consecutive executions would not look the same to anyone: E.g., removing 1 →2 at round 1 allows p2 to tell everyone about the failure. * Special Case: f = 2 Distinguishable to everyone. So we must do something more elaborate. Recall that we can allow 2 proc

文档评论(0)

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

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

1亿VIP精品文档

相关文档