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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 8f8664a4-3dfc-4bb4-bf5d-a4d898112cfaCited by top-tier papers7
- 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
- Prophet: Conflict-Free Sharding Blockchain via Byzantine-Tolerant Deterministic OrderingZicong Hong, Song Guo, Enyuan Zhou, Jianting Zhang et al.INFOCOM 2023 · 40 citations
- Do the Rich Get Richer? Fairness Analysis for Blockchain IncentivesYuming Huang, Jing Tang, Qianhao Cong, Andrew Lim et al.SIGMOD 2021 · 40 citations
- LightCross: Sharding with Lightweight Cross-Shard Execution for Smart ContractsXiaodong Qi, Yi LiINFOCOM 2024 · 22 citations
- SharDAG: Scaling DAG-Based Blockchains Via Adaptive ShardingFeng Cheng, Jiang Xiao, Cunyang Liu, Shijie Zhang et al.ICDE 2024 · 20 citations
Builds on4
- 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
- RapidChain: Scaling Blockchain via Full ShardingMahdi Zamani, Mahnush Movahedi, Mariana RaykovaCCS 2018 · 1,084 citations
- Scalable Bias-Resistant Distributed RandomnessEwa Syta, Philipp Jovanovic, Eleftherios Kokoris-Kogias, Nicolas Gailly et al.S&P 2017 · 327 citations
- Chainspace: A Sharded Smart Contracts PlatformMustafa Al-Bassam, Alberto Sonnino, Shehar Bano, Dave Hrycyszyn et al.NDSS 2018 · 313 citations
Related papers
- AgileShard: Turning the Sharded Blockchain into a Real-Time Transaction Processing SystemJianfeng Shi, Heng Wu, Wang Liu, Heran Gao et al.RTSS 2023
- 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
- TxAllo: Dynamic Transaction Allocation in Sharded Blockchain SystemsYuanzhe Zhang, Shirui Pan, Jiangshan YuICDE 2023 · 64 citations
- Pyramid: A Layered Sharding Blockchain SystemZicong Hong, Song Guo, Peng Li, Wuhui ChenINFOCOM 2021 · 193 citations
- Practical smart contract sharding with ownership and commutativity analysisGeorge Pîrlea, Amrit Kumar, Ilya SergeyPLDI 2021 · 39 citations
