同步系统和异步系统容错率的思考

本文分析了同步系统、异步系统和部分同步系统中的容错率。同步系统容错率可达50%,但异步系统中,根据FLP不可能性证明,无法容忍错误节点。部分同步系统在特定条件下的容错率为33%。文中还讨论了POW算法在不同网络延迟下的容错特性,并引用相关研究资料进行佐证。
摘要由CSDN通过智能技术生成

经常听到有文章引用下面这句话:在同步系统中容错率可以达到50%,而在异步系统中容错率下降到33%。
实际上这句话是有问题的,早在1985年Michael J. Fischer, Nancy Lynch, 和Mike Paterson已经证明,在一个完全异步的系统中,没有任何一种共识算法可以容忍哪怕一个错误节点,史称FLP不可能性证明(FLP是他们三个人名字的缩写)。所以,上面那句话应该把“异步系统”修正为“部分同步系统”。
那么问题来了,到底什么是同步系统,异步系统,和部分同步系统呢?

同步系统(Synchronous System)

援引《Introduction to Reliable and Secure Distributed Programming》第46页中的权威定义:

  1. Synchronous computation. There is a known upper bound on processing delays. That is, the time taken by any process to execute a step is always less than this bound. Remember that a step gathers the delivery of a message (possibly nil) sent by some other process, a local computation (possibly involving interaction among several layers of same process), and the sending of a message of some other process (possibly omitted).
  2. Synchronous communication. The
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值