ACE:用于状态机复制活性提升的抽象一致性封装
ACE: Abstract Consensus Encapsulation for Liveness Boosting of State Machine Replication
摘要:
随着跨组织易受攻击的拜占庭容错(BFT)系统(所谓的区块链)的出现,提供异步状态机复制(SMR)解决方案不再是一个理论问题。本文介绍了ACE:容错SMR系统软件设计的通用框架。我们首先提出了一个新的基于领导者的视图(LBV)抽象,它将每个视图提供的核心属性封装在一个部分同步的共识算法中,该算法是根据基于领导者的逐视图范式(例如,PBFT和Paxos)。然后,我们组成几个LBV实例,以提高现有SMR解决方案的异步活性。ACE是模型不可知的-它抽象出共识协议可能具有的任何模型假设,例如,过错方的比例和类型。例如,当LBV抽象用被设计为容忍崩溃故障的部分同步共识算法来实例化时,Paxos或Raft,ACE为$n = 2f+1$方产生异步SMR。但是,如果LBV抽象是用拜占庭协议(如PBFT或HotStuff)实例化的,则ACE为$n = 3f+1$方产生异步拜占庭SMR。为了展示ACE的强大功能,我们在C++中实现它,用HotStuff的视图实现实例化LBV抽象-最先进的部分同步拜占庭协议-并将其与不同对抗场景下的基本HotStuff实现进行比较。我们的评估表明,虽然ACE优于HotStuff在乐观,同步,无故障的情况下,ACE在网络攻击和攻击有绝对的优势。
英文摘要:
With the emergence of cross-organization attack-prone byzantine fault-tolerant (BFT) systems, so-called Blockchains, providing asynchronous state machine replication (SMR) solutions is no longer a theoretical concern. This paper introduces ACE: a general framework for the software design of fault-tolerant SMR systems. We first propose a new leader-based-view (LBV) abstraction that encapsulates the core properties provided by each view in a partially synchronous consensus algorithm, designed according to the leader-based view-by-view paradigm (e.g., PBFT and Paxos). Then, we compose several LBV instances in a non-trivial way in order to boost asynchronous liveness of existing SMR solutions. ACE is model agnostic - it abstracts away any model assumptions that consensus protocols may have, e.g., the ratio and types of faulty parties. For example, when the LBV abstraction is instantiated with a partially synchronous consensus algorithm designed to tolerate crash failures, e.g., Paxos or Raft, ACE yields an asynchronous SMR for $n = 2f+1$ parties. However, if the LBV abstraction is instantiated with a byzantine protocol like PBFT or HotStuff, then ACE yields an asynchronous byzantine SMR for $n = 3f+1$ parties. To demonstrate the power of ACE, we implement it in C++, instantiate the LBV abstraction with a view implementation of HotStuff -- a state of the art partially synchronous byzantine agreement protocol -- and compare it with the base HotStuff implementation under different adversarial scenarios. Our evaluation shows that while ACE is outperformed by HotStuff in the optimistic, synchronous, failure-free case, ACE has absolute superiority during network asynchrony and attacks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。