Skip to main content
QUICK REVIEW

[논문 리뷰] Shoal: Improving DAG-BFT Latency And Robustness

Alexander Spiegelman, Balaji Aurn|arXiv (Cornell University)|2023. 06. 05.
Distributed systems and fault toleranceComputer Science인용 수 13
한 줄 요약

Shoal은 Narwhal 기반 DAG-BFT에 리더 평판과 파이프라인화를 도입하여 대기 지연을 줄이고(실패 없는 실행에서 최대 40%, 실패 상황에서 최대 80%), 일반적인 반응성으로 견고성을 향상시킨다.

ABSTRACT

The Narwhal system is a state-of-the-art Byzantine fault-tolerant scalable architecture that involves constructing a directed acyclic graph (DAG) of messages among a set of validators in a Blockchain network. Bullshark is a zero-overhead consensus protocol on top of the Narwhal's DAG that can order over 100k transactions per second. Unfortunately, the high throughput of Bullshark comes with a latency price due to the DAG construction, increasing the latency compared to the state-of-the-art leader-based BFT consensus protocols. We introduce Shoal, a protocol-agnostic framework for enhancing Narwhal-based consensus. By incorporating leader reputation and pipelining support for the first time, Shoal significantly reduces latency. Moreover, the combination of properties of the DAG construction and the leader reputation mechanism enables the elimination of timeouts in all but extremely uncommon scenarios in practice, a property we name Prevalent Responsiveness" (it strictly subsumes the established and often desired Optimistic Responsiveness property for BFT protocols). We integrated Shoal instantiated with Bullshark, the fastest existing Narwhal-based consensus protocol, in an open-source Blockchain project and provide experimental evaluations demonstrating up to 40% latency reduction in the failure-free executions, and up-to 80% reduction in executions with failures against the vanilla Bullshark implementation.

연구 동기 및 목표

  • 실제로 안전성을 해치지 않으면서 Narwhal 기반 DAG-BFT의 대기 시간 감소를 촉진한다.
  • Narwhal 기반 프로토콜에 리더 평판과 파이프라인화를 도입하기 위한 프로토콜 독립적 프레임워크를 개발한다.
  • 일반적인 실패 시나리오에서 타임아웃을 제거하여 거의 연속적인 진행을 가능하게 한다.
  • Narwhal 기반 프로토콜의 기존 특성을 활용하여 Shoal의 정합성을 입증한다.
  • 현장과 유사한 블록체인 환경에서 실제 성능 향상을 평가한다.

제안 방법

  • DAG-Rider, Tusk, Bullshark와 같은 Narwhal 기반 합의 프로토콜 위에서 작동하는 프로토콜 독립적 프레임워크로 Shoal을 도입한다.
  • 두 단계 접근법을 사용한다: (i) 정렬된 최초 앵커에서 새 프로토콜 인스턴스를 시작하도록 DAG를 재해석하여 파이프라이닝, (ii) 과거 활동을 기반으로 라운드 리더십에 편향을 주는 리더 평판.
  • 정확성 보장을 Property 1로: 정직한 검증자들이 앵커-리더 매핑에 동의하면, 그들은 첫 번째 정렬된 앵커에 동의할 것이다.
  • 라운드를 앵커에 매핑하기 위한 결정론적 함수 F를 도입하고 각 정렬된 앵커마다 F를 업데이트한다.
  • 타임아웃 제거(일반적인 반응성)와 같은 실용적 향상을 구현한다.
  • 레이턴시 향상을 평가하기 위해 Bullshark와 통합된 오픈 소스 구현을 제공한다.
Figure 1 . A possible local view of a round-based DAG. The causal history of the vertex identified by validator 2 in round 2 is highlighted in green.
Figure 1 . A possible local view of a round-based DAG. The causal history of the vertex identified by validator 2 in round 2 is highlighted in green.

실험 결과

연구 질문

  • RQ1Shoal은 안전성을 해치지 않으면서 Narwhal 기반 DAG-BFT의 주문 지연을 줄일 수 있는가?
  • RQ2리더 평판과 파이프라인화가 실제로 가용성 및 처리량을 어떻게 개선하는가?
  • RQ3고장 없는 상황과 고장 상황에서 달성할 수 있는 정량적 지연 개선은 무엇인가?
  • RQ4Shoal 하에서 타임아웃 제거가 안전성을 유지하면서 지연을 줄이는가?
  • RQ5실제 또는 생산에 가까운 설정에서 Bullshark로 instantiated 되었을 때 Shoal은 어떻게 수행하는가?

주요 결과

  • Shoal은 실패 없는 실행에서 일반적인 Bullshark에 비해 최대 40%의 지연 감소를 달성한다.
  • Shoal은 실패가 있는 실행에서 일반적인 Bullshark에 비해 최대 80%의 지연 감소를 달성한다.
  • 리더십 평판은 느리거나 크래시된 검증자를 걸러내어 네트워크 속도에서 DAG 진행을 가능하게 한다.
  • 파이프라이닝은 라운드마다 단 하나의 앵커를 보장하여 프로토콜 인스턴스를 섞어 두어 지연의 급등을 줄인다.
  • 타임아웃 제거는 일반적인 조건에서 지연을 더 줄이고 구현을 단순화한다.
  • 이 프레임워크는 프로토콜에 의존하지 않는 프레임워크이며 DAG-Rider, Tusk, Bullshark에 적용 가능하다.
Figure 2 . A possible local view of the DAG in the partially synchronous Bullshark protocol. Filled squares represent the pre-defined anchors. In this example, the validator orders the red and yellow anchors, while the green (which is not in the DAG) anchor is skipped. To order the DAG, the validato
Figure 2 . A possible local view of the DAG in the partially synchronous Bullshark protocol. Filled squares represent the pre-defined anchors. In this example, the validator orders the red and yellow anchors, while the green (which is not in the DAG) anchor is skipped. To order the DAG, the validato

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.