Lune

ICDE2020Top-tier venue

On Sharding Open Blockchains with Smart Contracts

Yuechen Tao, Bo Li, Jingjie Jiang, Hok Chu Ng, Cong Wang, Baochun Li

Abstract

Current blockchain systems suffer from a number of inherent drawbacks in its scalability, latency, and processing throughput. By enabling parallel confirmations of transactions, sharding has been proposed to mitigate these drawbacks, which usually requires frequent communication among miners through a separate consensus protocol.

In this paper, we propose, analyze, and implement a new distributed and dynamic sharding system to substantially improve the throughput of blockchain systems based on smart contracts, while requiring minimum cross-shard communication. Our key observation is that transactions sent by users who only participate in a single smart contract can be validated and confirmed independently without causing double spending. Therefore, the natural formation of a shard is to surround one smart contract to start with. The complication lies in the different sizes of shards being formed, in which a small shard with few transactions tends to generate a large number of empty blocks resulting in a waste of mining power, while a large shard adversely affects parallel confirmations. To overcome this problem, we propose an inter-shard merging algorithm with incentives to encourage small shards to merge with one another and form a larger shard, an intra-shard transaction selection mechanism to encourage miners to select different subsets of transactions for validation, as well as a parameter unification method to further improve these two algorithms to reduce the communication cost and improve system reliability.

We analyze our proposed algorithms using the game theoretic approach, and prove that they converge to a Nash Equilibrium. We also present a security analysis on our sharding design, and prove that it resists adversaries who occupy at most 33% of the computation power. We have implemented our designs on go-Ethereum 1.8.0 and evaluated their performance using both real-world blockchain transactions and large-scale simulations. Our results show that throughput has been improved by 7.2×, and the number of empty blocks has been reduced by 90%.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Prophet: Conflict-Free Sharding Blockchain via Byzantine-Tolerant Deterministic Ordering cites OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding
  • Prophet: Conflict-Free Sharding Blockchain via Byzantine-Tolerant Deterministic Ordering cites Chainspace: A Sharded Smart Contracts Platform
  • Prophet: Conflict-Free Sharding Blockchain via Byzantine-Tolerant Deterministic Ordering cites RapidChain: Scaling Blockchain via Full Sharding
  • OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding cites Scalable Bias-Resistant Distributed Randomness
  • OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding cites Chainspace: A Sharded Smart Contracts Platform
  • Chainspace: A Sharded Smart Contracts Platform cites Scalable Bias-Resistant Distributed Randomness
  • GriDB: Scaling Blockchain Database via Sharding and Off-Chain Cross-Shard Mechanism cites OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding
  • GriDB: Scaling Blockchain Database via Sharding and Off-Chain Cross-Shard Mechanism cites Chainspace: A Sharded Smart Contracts Platform
  • GriDB: Scaling Blockchain Database via Sharding and Off-Chain Cross-Shard Mechanism cites RapidChain: Scaling Blockchain via Full Sharding
  • LightCross: Sharding with Lightweight Cross-Shard Execution for Smart Contracts cites OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding
  • LightCross: Sharding with Lightweight Cross-Shard Execution for Smart Contracts cites RapidChain: Scaling Blockchain via Full Sharding
  • SharDAG: Scaling DAG-Based Blockchains Via Adaptive Sharding cites Prophet: Conflict-Free Sharding Blockchain via Byzantine-Tolerant Deterministic Ordering
  • SharDAG: Scaling DAG-Based Blockchains Via Adaptive Sharding cites OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding
  • SharDAG: Scaling DAG-Based Blockchains Via Adaptive Sharding cites GriDB: Scaling Blockchain Database via Sharding and Off-Chain Cross-Shard Mechanism
  • SharDAG: Scaling DAG-Based Blockchains Via Adaptive Sharding cites RapidChain: Scaling Blockchain via Full Sharding
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. GriDB: Scaling Blockchain Database via Sharding and Off-Chain Cross-Shard MechanismZicong Hong, Song Guo, Enyuan Zhou, Wuhui Chen et al.VLDB 2023 · 65 citations
  2. Prophet: Conflict-Free Sharding Blockchain via Byzantine-Tolerant Deterministic OrderingZicong Hong, Song Guo, Enyuan Zhou, Jianting Zhang et al.INFOCOM 2023 · 40 citations
  3. Do the Rich Get Richer? Fairness Analysis for Blockchain IncentivesYuming Huang, Jing Tang, Qianhao Cong, Andrew Lim et al.SIGMOD 2021 · 40 citations
  4. LightCross: Sharding with Lightweight Cross-Shard Execution for Smart ContractsXiaodong Qi, Yi LiINFOCOM 2024 · 22 citations
  5. SharDAG: Scaling DAG-Based Blockchains Via Adaptive ShardingFeng Cheng, Jiang Xiao, Cunyang Liu, Shijie Zhang et al.ICDE 2024 · 20 citations

Builds on4

  1. OmniLedger: A Secure, Scale-Out, Decentralized Ledger via ShardingEleftherios Kokoris-Kogias, Philipp Jovanovic, Linus Gasser, Nicolas Gailly et al.S&P 2018 · 1,145 citations
  2. RapidChain: Scaling Blockchain via Full ShardingMahdi Zamani, Mahnush Movahedi, Mariana RaykovaCCS 2018 · 1,084 citations
  3. Scalable Bias-Resistant Distributed RandomnessEwa Syta, Philipp Jovanovic, Eleftherios Kokoris-Kogias, Nicolas Gailly et al.S&P 2017 · 327 citations
  4. Chainspace: A Sharded Smart Contracts PlatformMustafa Al-Bassam, Alberto Sonnino, Shehar Bano, Dave Hrycyszyn et al.NDSS 2018 · 313 citations

Related papers

  1. AgileShard: Turning the Sharded Blockchain into a Real-Time Transaction Processing SystemJianfeng Shi, Heng Wu, Wang Liu, Heran Gao et al.RTSS 2023
  2. Sharon: Secure and Efficient Cross-shard Transaction Processing via Shard RotationShan Jiang, Jiannong Cao, Cheung Leong Tung, Yuqin Wang et al.INFOCOM 2024 · 22 citations
  3. TxAllo: Dynamic Transaction Allocation in Sharded Blockchain SystemsYuanzhe Zhang, Shirui Pan, Jiangshan YuICDE 2023 · 64 citations
  4. Pyramid: A Layered Sharding Blockchain SystemZicong Hong, Song Guo, Peng Li, Wuhui ChenINFOCOM 2021 · 193 citations
  5. Practical smart contract sharding with ownership and commutativity analysisGeorge Pîrlea, Amrit Kumar, Ilya SergeyPLDI 2021 · 39 citations
Dusk over the sea between two cliffs drawn in fine vertical lines