The Byzantine Generals Probl
标题:The Byzantine Generals Problem
作者:Leslie Lamport、Robert Shostak、Marshall Pease(SRI International)
发表时间:1982年7月
期刊:ACM Transactions on Programming Languages and Systems(TOPLAS)
论文下载地址:
链接:https://pan.quark.cn/s/e4d9c71ca53d
原文摘要
Reliable computer systems must handle malfunctioning components that give conflicting information to different parts of the system. This situation can be expressed abstractly in terms of a group of generals of the Byzantine army camped with their troops around an enemy city. Communicating only by messenger, the generals must agree upon a common battle plan. However, one or more of them may be traitors who will try to confuse the others. The problem is to find an algorithm to ensure that the loyal generals will reach agreement. It is shown that, using only oral messages, this problem is solvable if and only if more than two-thirds of the generals are loyal; so a single traitor can confound two loyal generals. With unforgeable written messages, the problem is solvable for any number of generals and possible traitors. Applications of the solutions to reliable computer systems are then discussed.
摘要中文翻译
可靠计算机系统必须能够处理故障组件向系统不同部分发送矛盾信息的情况。
该场景可以抽象为拜占庭军队的若干将军率部驻扎在敌城外围的问题:将军之间只能通过信使通信,需要达成一致作战方案;但其中部分将军可能是叛徒,会刻意扰乱其他人。
我们需要找到算法,保证忠诚将军能够达成共识。
论文证明:仅依靠口头消息时,当且仅当忠诚将军数量超过三分之二,问题才有解;也就是单个叛徒就可以迷惑两名忠诚将军。如果使用不可伪造的书面签名消息,则无论叛徒数量多少都可以求解。
论文最后讨论了这套方案在可靠计算机系统中的应用。
一句话总结:
提出拜占庭将军问题,定义拜占庭故障(恶意故障),证明口头消息下3m+1必要性,给出口头消息算法OM(m)与签名消息算法SM(m),是分布式容错理论奠基之作。
核心贡献
定义拜占庭故障模型 区别于简单崩溃故障,叛徒节点可以撒谎、发送矛盾消息、选择性发送消息,这就是分布式里的拜占庭故障。共识需要满足两个条件:忠诚节点执行相同指令;如果指挥官本身忠诚,所有忠诚节点执行他发出的指令。
经典下界定理 口头消息(无签名、消息可篡改):容忍m个叛徒,至少需要 3m+1 个节点。3节点、1叛徒的场景不存在解。
两套算法
OM(m):口头消息算法,递归消息转发,最多容忍m个叛徒,总节点≥3m+1;
SM(m):带不可伪造签名的消息算法,签名可以验真,不再受1/3上限约束,任意数量叛徒都能解决。
交互式一致性(interactive consistency) 把将军问题等价转化为分布式系统的交互式一致性问题,为后续Paxos、PBFT等共识算法打下理论基础。
这篇是分布式系统经典开山论文,区块链、PBFT等拜占庭容错共识的理论源头
The Byzantine Generals Probl
https://www.devpilot.cloud/archives/wei-ming-ming-wen-zhang-hTLLRajK
评论