Skip to main content
QUICK REVIEW

[Paper Review] Efficient Cross-Shard Transaction Execution in Sharded Blockchains

Sourav Das, Vinith Krishnan|arXiv (Cornell University)|Jul 28, 2020
Blockchain Technology Applications and SecurityComputer Science31 references9 citations
TL;DR

Rivet proposes a novel sharding architecture that eliminates consensus in worker shards, using a single reference shard to coordinate cross-shard transactions via block commitments and validity proofs. This design reduces cross-shard transaction latency and increases throughput by avoiding long-lived locks inherent in the two-phase commit (2PC) protocol, achieving faster finality and higher concurrency with minimal overhead.

ABSTRACT

Sharding is a promising blockchain scaling solution. But it currently suffers from high latency and low throughput when it comes to cross-shard transactions, i.e., transactions that require coordination from multiple shards. The root cause of these limitations arise from the use of the classic two-phase commit protocol, which involves locking assets for extended periods of time. This paper presents Rivet, a new paradigm for blockchain sharding that achieves lower latency and higher throughput for cross-shard transactions. Rivet has a single reference shard running consensus, and multiple worker shards maintaining disjoint states and processing a subset of transactions in the system. Rivet obviates the need for consensus within each worker shard, and as a result, tolerates more failures within a shard and lowers communication overhead. We prove the correctness and security of Rivet. We also propose a more realistic framework for evaluating sharded blockchains by creating a benchmark based on real Ethereum transactions. An evaluation of our prototype implementation of Rivet and the baseline two-phase commit, atop 50+ AWS EC2 instances, using our evaluation framework demonstrates the latency and throughput improvements for cross-shard transactions.

Motivation & Objective

  • To address the high latency and low throughput of cross-shard transactions in sharded blockchains, which stem from the long-lived locks in the classic two-phase commit (2PC) protocol.
  • To design a scalable blockchain sharding model that minimizes consensus overhead in worker shards while maintaining security and consistency.
  • To improve transaction confirmation speed and system throughput for cross-shard operations without compromising correctness or fault tolerance.
  • To evaluate the feasibility and performance of the proposed model using a real-world benchmark based on Ethereum transaction patterns.

Proposed method

  • Rivet introduces a single reference shard that runs consensus and maintains a global blockchain, while multiple worker shards maintain disjoint state and process intra-shard transactions independently.
  • Worker shards do not run consensus; instead, they periodically submit cryptographic hash digests of their committed blocks to the reference shard for inclusion in the global chain.
  • Cross-shard transactions are submitted to the reference shard, which orders and finalizes them, enabling all involved shards to locally execute only the relevant transactions.
  • Each worker shard downloads data and validity proofs from other shards to execute cross-shard transactions, ensuring correctness without requiring consensus among them.
  • The system uses cryptographic commitments and validity proofs to enable fast, secure, and efficient cross-shard execution without locking assets for extended periods.
  • A prototype is implemented on Quorum, and performance is evaluated using a realistic benchmark derived from real Ethereum transaction data.

Experimental results

Research questions

  • RQ1Can a sharded blockchain architecture reduce cross-shard transaction latency by eliminating consensus in worker shards?
  • RQ2How does the proposed reference-shard coordination model compare to the traditional two-phase commit (2PC) protocol in terms of throughput and finality time?
  • RQ3To what extent can removing consensus from worker shards improve fault tolerance and reduce communication overhead?
  • RQ4Can a realistic benchmark based on real Ethereum transactions effectively evaluate the performance of sharded blockchain systems?

Key findings

  • Rivet achieves significantly lower confirmation latency for cross-shard transactions compared to the 2PC baseline, as transactions are finalized as soon as one worker shard locally executes them.
  • The throughput for cross-shard transactions is higher in Rivet because data items are locked for shorter durations, reducing contention and enabling faster reuse.
  • Worker shards in Rivet require fewer replicas and less communication, as they do not run consensus, leading to reduced operational overhead.
  • The prototype implementation on 50+ AWS EC2 instances confirms the performance improvements, demonstrating the feasibility and scalability of the approach.
  • The benchmark based on real Ethereum transactions provides a more accurate and realistic evaluation framework than synthetic workloads.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.