Skip to main content
QUICK REVIEW

[论文解读] SpotLess: Concurrent Rotational Consensus Made Practical through Rapid View Synchronization

Dakai Kang, Sajjad Rahnama|arXiv (Cornell University)|Feb 4, 2023
Distributed systems and fault toleranceComputer Science被引用 3
一句话总结

SpotLess 是一种高吞吐量、高容错的共识协议,结合了并行链接共识与快速视图同步机制,消除了主节点瓶颈并简化了故障恢复。其吞吐量最高可达 HotStuff 的 3803%,比 RCC 提高 23%,且在发生故障时仍能保持低且稳定的延迟。

ABSTRACT

The emergence of blockchain technology has renewed the interest in consensus-based data management systems that are resilient to failures. To maximize the throughput of these systems, we have recently seen several prototype consensus solutions that optimize for throughput at the expense of overall implementation complexity, high costs, and reliability. Due to this, it remains unclear how these prototypes will perform in real-world environments. In this paper, we present SPOTLESS, a novel concurrent rotational consensus protocol made practical. Central to SPOTLESS is the combination of (1) a chained rotational consensus design for replicating requests with a reduced message cost and low-cost failure recovery that eliminates the traditional complex, error-prone view-change protocol; (2) the novel Rapid View Synchronization protocol that enables SPOTLESS to work in more general network assumptions, without a need for a Global Synchronization Time to synchronize view, and recover valid earlier views with the aid of non-faulty replicas without the need to rely on the primary; (3) a high-performance concurrent consensus architecture in which independent instances of the chained consensus operate concurrently to process requests with high throughput, thereby avoiding the bottlenecks seen in other rotational protocols. Due to the concurrent consensus architecture, SPOTLESS greatly outperforms traditional primary-backup consensus protocols such as PBFT (by up to 430%), NARWHAL-HS (by up to 137%), and HOTSTUFF (by up to 3803%). Due to its reduced message cost, SPOTLESS is even able to outperform RCC, a state-of-the-art high-throughput concurrent consensus protocol, by up to 23%. Furthermore, SPOTLESS is able to maintain a stable and low latency and consistently high throughput even during failures.

研究动机与目标

  • 解决传统主从备份共识协议(如 PBFT)在性能和可靠性方面的局限性,这些协议存在单主节点瓶颈和复杂的恢复机制。
  • 克服现有并行共识协议(如 RCC 和 MirBFT)在可扩展性和实现复杂性方面的挑战,这些协议增加了消息开销和恢复开销。
  • 通过消除对昂贵门限签名和全局同步的依赖,提升链接共识协议(如 HotStuff)的容错能力和实用性。
  • 设计一种共识系统,在网络不稳定和副本故障的情况下仍能保持高吞吐量和低延迟,且不依赖可信硬件或复杂密码原语。

提出的方法

  • 采用并行共识架构,多个独立的链接共识实例并行运行,每个实例拥有自己的主节点,从而消除单个副本的瓶颈。
  • 提出一种链式轮转共识设计,通过避免传统视图变更协议,降低消息开销并实现低成本故障恢复。
  • 提出快速视图同步协议,利用非故障副本实现故障容忍的先前视图恢复,无需依赖主节点或全局同步。
  • 采用混合方法,结合 HotStuff 链式共识的高效性与 RCC 的并行性,同时通过轻量级视图同步消除对门限签名的需求。
  • 设计系统以在共识决策之间分摊通信开销,实现每项决策的线性通信复杂度。
  • 在 Apache ResilientDB 中实现该协议,以在真实环境(包括故障场景)下评估性能。

实验结果

研究问题

  • RQ1并行共识协议是否能在不产生现有方案高消息开销和复杂恢复机制的前提下实现高吞吐量?
  • RQ2快速视图同步是否能实现可靠且低成本的先前共识状态恢复,而无需依赖全局同步或可信硬件?
  • RQ3在异步或部分同步网络中,并行共识与链式共识的结合对性能和容错性有何影响?
  • RQ4该协议在吞吐量和延迟方面,与 RCC 和 HotStuff 等最先进协议相比,能实现多大程度的性能超越,同时在故障期间保持稳定性?

主要发现

  • SpotLess 的吞吐量最高比 PBFT 提高 430%,显著优于传统主从备份共识协议。
  • 在吞吐量方面,SpotLess 最高比 Narwhal-HS 提高 137%,比 HotStuff 提高 3803%,凸显其在高吞吐量工作负载中的优势。
  • 在理想条件下,SpotLess 即使面对具备高性能设计的最先进并行共识协议 RCC,仍能实现最高 23% 的吞吐量提升。
  • SpotLess 在所有测试条件下均保持低且稳定的延迟,包括副本故障期间,表明其具备强大的容错能力。
  • 通过消除复杂视图变更协议和门限签名的需求,协议实现了低消息开销和高效的恢复机制。
  • 快速视图同步通过仅依赖非故障副本,实现了对有效先前视图的可靠恢复,无需主节点或全局同步。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。