Skip to main content
QUICK REVIEW

[논문 리뷰] Prophet: Conflict-Free Sharding Blockchain via Byzantine-Tolerant Deterministic Ordering

Zicong Hong, Song Guo|arXiv (Cornell University)|2023. 04. 17.
Blockchain Technology Applications and SecurityComputer Science인용 수 3
한 줄 요약

Prophet는 비잔틴 환경에서 신뢰할 수 없는 레이스 조건을 제거하기 위해 비잔틴 강인한 결정론적 순서 정렬을 통해 충돌 없는 셸빙 블록체인을 제안한다. 서로 다른 샤드의 노드로 구성된 신뢰할 수 없는 탐색 연합을 활용해 크로스-샤드 거래를 사전 실행하고, 상태 비저장 검증 기반의 글로벌 순서 정렬 메커니즘을 도입함으로써, 64개의 샤드와 최대 25%의 악성 노드가 존재하는 상황에서도 이더리움 규모의 워크로드에서 1203 TPS의 3.11배 높은 처리량, 62.9% 낮은 지연, 거의 0%의 취소율을 달성한다.

ABSTRACT

Sharding scales throughput by splitting blockchain nodes into parallel groups. However, different shards' independent and random scheduling for cross-shard transactions results in numerous conflicts and aborts, since cross-shard transactions from different shards may access the same account. A deterministic ordering can eliminate conflicts by determining a global order for transactions before processing, as proved in the database field. Unfortunately, due to the intertwining of the Byzantine environment and information isolation among shards, there is no trusted party able to predetermine such an order for cross-shard transactions. To tackle this challenge, this paper proposes Prophet, a conflict-free sharding blockchain based on Byzantine-tolerant deterministic ordering. It first depends on untrusted self-organizing coalitions of nodes from different shards to pre-execute cross-shard transactions for prerequisite information about ordering. It then determines a trusted global order based on stateless ordering and post-verification for pre-executed results, through shard cooperation. Following the order, the shards thus orderly execute and commit transactions without conflicts. Prophet orchestrates the pre-execution, ordering, and execution processes in the sharding consensus for minimal overhead. We rigorously prove the determinism and serializability of transactions under the Byzantine and sharded environment. An evaluation of our prototype shows that Prophet improves the throughput by $3.11 imes$ and achieves nearly no aborts on 1 million Ethereum transactions compared with state-of-the-art sharding.

연구 동기 및 목표

  • 크로스-샤드 거래에서 발생하는 레이스 조건으로 인한 높은 취소율 문제를 해결하기 위해.
  • 비잔틴 환경에서 신뢰할 수 있는 제3자에 의존하지 않고 크로스-샤드 거래의 충돌을 제거하기 위해.
  • 악성 조건 하에서도 순서화 가능성과 결정론성을 유지하는 확장 가능한 충돌 없는 셸빙 아키텍처를 설계하기 위해.
  • 크로스-샤드 거래의 1라운드 커밋을 가능하게 하여 확정 지연을 줄이고 처리량을 향상시키기 위해.

제안 방법

  • 다른 샤드의 노드로 구성된 신뢰할 수 없는 자율적 연합을 활용해 크로스-샤드 거래를 사전 실행하고, 순서 정렬에 필요한 정보를 수집한다.
  • 사전 실행 결과를 기반으로 글로벌 거래 순서를 결정하는 상태 비저장 순서 정렬 메커니즘을 도입하여 결정론성을 보장한다.
  • 사후 검증 보정 단계를 도입하여 잘못된 거래를 탐지하고 거부함으로써 비잔틴 결함 내성성을 유지한다.
  • 합의 오버헤드를 최소화하기 위해 사전 실행, 글로벌 순서 정렬, 실행 단계를 계층적 아키텍처로 조율한다.
  • 샤드 간 비동기 보정과 병렬 실행을 통해 효율성을 향상시키고 지연을 감소시킨다.
  • 세밀한 순서 정렬과 통신 효율적인 사전 실행을 통해 샤드 수 증가에 따라 확장성을 확보한다.

실험 결과

연구 질문

  • RQ1신뢰할 수 없는 제3자 없이 비잔틴 환경에서 충돌 없는 셸빙 블록체인을 구축할 수 있는가?
  • RQ2정보 격리와 불신뢰할 수 있는 노드가 존재하는 샤드 시스템에서 결정론적 순서 정렬을 어떻게 달성할 수 있는가?
  • RQ3대규모 샤드 블록체인에서 사전 실행과 글로벌 순서 정렬의 성능 오버헤드는 얼마나 되는가?
  • RQ4악성 노드 존재 조건 하에서도 순서화 가능성과 결정론성을 유지할 수 있는가?
  • RQ5샤드 수 증가가 충돌 없는 셸링 모델에서 처리량, 지연, 취소율에 미치는 영향은 어떠한가?

주요 결과

  • Prophet는 100만 개의 이더리움 거래에서 최신 기술의 샤딩 블록체인 대비 3.11배 높은 처리량(1203 TPS)을 달성한다.
  • 비결정론적 샤딩 시스템 대비 확정 지연을 62.9% 감소시켰으며, 샤드 수 증가에 따라 안정적인 성능을 유지한다.
  • 크로스-샤드 컨트랙트 호출 수에 관계없이 0%의 취소율을 유지한다. 이는 두 개 이상의 인터-컨트랙트 호출이 발생할 경우 50% 이상의 거래가 취소되는 OCC 기반 시스템과 대비된다.
  • 사전 실행 단계는 효율적으로 확장되어 노드당 5개의 스레드로 334 TPS를 달성하며, 샤드 수 증가에 따라 통신 오버헤드도 낮게 유지된다.
  • 악성 노드의 영향은 미미하여 잘못된 거래 비율이 2% 미만이며, 신뢰할 수 있는 연합이 형성됨에 따라 시스템은 시간이 지남에 따라 자동으로 보정된다.
  • 샤드 수 증가에 따라 평균 메시지 크기는 약간 증가하며(32개에서 64개 샤드로 두 배 증가할 때 177바이트에서 322바이트로 증가), 이는 통신 확장성의 효율성을 시사한다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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