arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2107.11144cs.DC
收藏

使BFT状态机复制中的读取快速、可线性化且实时

Making Reads in BFT State Machine Replication Fast, Linearizable, and Live

Christian Berger, Hans P. Reiser, Alysson Bessani

摘要:

实用拜占庭容错(PBFT)是一个开创性的状态机复制协议,实现了在现实环境中的非复制系统的性能相媲美。如此高的性能的一个原因是在协议中引入的一组优化。其中一个优化是只读请求,这是一种特殊类型的客户端请求,避免运行三步协议,并允许副本直接响应,从而将读取延迟从五个通信步骤减少到两个通信步骤。鉴于PBFT的广泛影响,其设计和优化影响了随后的许多BFT协议和系统,例如,BFT-SMaRt.我们第一次表明,20多年前在PBFT中引入的只读请求优化可能会违反其活性。值得注意的是,该问题不仅影响优化的只读操作,还影响标准的、完全有序的操作。我们展示了这个弱点,提出了一个恶意的领导者块正确的客户端的攻击,并提出了两个解决方案,修补协议,使只读操作快速和正确。这两个解决方案在BFT-SMaRt上实现,并在不同的场景下进行了评估,显示了它们在防止已识别攻击方面的有效性。

英文摘要:

Practical Byzantine Fault Tolerance (PBFT) is a seminal state machine replication protocol that achieves a performance comparable to non-replicated systems in realistic environments. A reason for such high performance is the set of optimizations introduced in the protocol. One of these optimizations is read-only requests, a particular type of client request which avoids running the three-step agreement protocol and allows replicas to respond directly, thus reducing the latency of reads from five to two communication steps. Given PBFT's broad influence, its design and optimizations influenced many BFT protocols and systems that followed, e.g., BFT-SMaRt. We show, for the first time, that the read-only request optimization introduced in PBFT more than 20 years ago can violate its liveness. Notably, the problem affects not only the optimized read-only operations but also standard, totally-ordered operations. We show this weakness by presenting an attack in which a malicious leader blocks correct clients and present two solutions for patching the protocol, making read-only operations fast and correct. The two solutions were implemented on BFT-SMaRt and evaluated in different scenarios, showing their effectiveness in preventing the identified attack.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑