Vegeta: Enabling Parallel Smart Contract Execution in Leaderless Blockchains
Tianjing Xu, Yongqi Zhong, Yiming Zhang, Ruofan Xiong, Jingjing Zhang, Guangtao Xue, Shengyun Liu
Abstract
Consensus and smart contract execution play complementary roles in blockchain systems. Leaderless consensus, as a promising direction in the blockchain context, can better utilize the resources of each node and/or avoid incurring the extra burden of timing assumptions. As modern Byzantine-Fault Tolerant (BFT) consensus protocols can order several hundred thousand transactions per second, contract execution is becoming the performance bottleneck. Adding concurrency to contract execution is a natural way to boost its performance, but none of the existing frameworks is a perfect fit for leaderless consensus.
We propose speculate-order-replay, a generic framework tailored to leaderless consensus protocols. Our framework allows each proposer to (pre-)process transactions prior to consensus, better utilizing its computing resources. We instantiate the framework with a concrete concurrency control protocol Vegeta. Vegeta speculatively executes a series of transactions and analyzes their dependencies before consensus, and later deterministically replays the schedule. We ran experiments under the real-world Ethereum workload on 16-vCPU virtual machines. Our evaluation results show that Vegeta achieved up to 7.8× speedup compared to serial execution. When deployed on top of a leaderless consensus protocol with 10 nodes, Vegeta still achieved 6.9× speedup.
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.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Narwhal and Tusk: a DAG-based mempool and efficient BFT consensus cites BEAT: Asynchronous BFT Made Practical
- Narwhal and Tusk: a DAG-based mempool and efficient BFT consensus cites The Honey Badger of BFT Protocols
- A Decentralized Blockchain with High Throughput and Fast Confirmation cites The Honey Badger of BFT Protocols
- BEAT: Asynchronous BFT Made Practical cites The Honey Badger of BFT Protocols
Cited by top-tier papers1
Builds on25
- The Honey Badger of BFT ProtocolsAndrew Miller, Yu Xia, Kyle Croman, Elaine Shi et al.CCS 2016 · 974 citations
- Quantifying Blockchain Extractable Value: How dark is the forest?Kaihua Qin, Liyi Zhou, Arthur GervaisS&P 2022 · 336 citations
- Narwhal and Tusk: a DAG-based mempool and efficient BFT consensusGeorge Danezis, Lefteris Kokoris-Kogias, Alberto Sonnino, Alexander SpiegelmanEuroSys 2022 · 259 citations
- BEAT: Asynchronous BFT Made PracticalSisi Duan, Michael K. Reiter, Haibin ZhangCCS 2018 · 255 citations
- A Decentralized Blockchain with High Throughput and Fast ConfirmationChenxing Li, Peilun Li, Dong Zhou, Zhe Yang et al.USENIX ATC 2020 · 172 citations
Related papers
- Spectrum: Speedy and Strictly-Deterministic Smart Contract Transactions for Blockchain LedgersZhihao Chen, Tianji Yang, Yixiao Zheng, Zhao Zhang et al.VLDB 2024 · 7 citations
- Utilizing Parallelism in Smart Contracts on Decentralized Blockchains by Taming Application-Inherent ConflictsPéter Garamvölgyi, Yuxi Liu, Dong Zhou, Fan Long et al.ICSE 2022 · 31 citations
- Toward High-Performance Blockchain System by Blurring the Line between Ordering and ExecutionDonghyeon Ryu, Chanik ParkSC 2024 · 6 citations
- Forerunner: Constraint-based Speculative Transaction Execution for EthereumYang Chen, Zhongxin Guo, Runhuai Li, Shuo Chen et al.SOSP 2021 · 18 citations
- Separation is Good: A Faster Order-Fairness Byzantine ConsensusKe Mu, Bo Yin, Alia Asheralieva, Xuetao WeiNDSS 2024
