Block-STM: Scaling Blockchain Execution by Turning Ordering Curse to a Performance Blessing
Rati Gelashvili, Alexander Spiegelman, Zhuolun Xiang, George Danezis, Zekun Li, Dahlia Malkhi, Yu Xia, Runtian Zhou
摘要
Block-STM is a parallel execution engine for smart contracts, built around the principles of Software Transactional Memory. Transactions are grouped in blocks, and every execution of the block must yield the same deterministic outcome. Block-STM further enforces that the outcome is consistent with executing transactions according to a preset order, leveraging this order to dynamically detect dependencies and avoid conflicts during speculative transaction execution. At the core of Block-STM is a novel, low-overhead collaborative scheduler of execution and validation tasks.
Block-STM is implemented on the main branch of the Diem Blockchain code-base and runs in production at Aptos. Our evaluation demonstrates that Block-STM is adaptive to workloads with different conflict rates and utilizes the inherent parallelism therein. Block-STM achieves up to 110𝑘 tps in the Diem benchmarks and up to 170𝑘 tps in the Aptos Benchmarks, which is a 20x and 17x improvement over the sequential baseline with 32 threads, respectively. The throughput on a contended workload is up to 50𝑘 tps and 80𝑘 tps in Diem and Aptos benchmarks, respectively.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Vegeta: Enabling Parallel Smart Contract Execution in Leaderless Blockchains 引用了 Forerunner: Constraint-based Speculative Transaction Execution for Ethereum
- Decentralized and Stateful Serverless Computing on the Internet Computer Blockchain 引用了 A Transactional Perspective on Execute-order-validate Blockchains
引用它的顶会 Paper16
- Sui Lutris: A Blockchain Combining Broadcast and ConsensusSam Blackshear, Andrey Chursin, George Danezis, Anastasios Kichidis 等CCS 2024 · 14 次引用
- PIM-STM: Software Transactional Memory for Processing-In-Memory SystemsAndré Lopes, Daniel Castro, Paolo RomanoASPLOS 2024 · 12 次引用
- Decentralized and Stateful Serverless Computing on the Internet Computer BlockchainMaksym Arutyunyan, Andriy Berestovskyy, Adam Bratschi-Kaye, Ulan Degenbaev 等USENIX ATC 2023 · 10 次引用
- When Concurrency Matters: Behaviour-Oriented ConcurrencyLuke Cheeseman, Matthew J. Parkinson, Sylvan Clebsch, Marios Kogias 等OOPSLA 2023 · 9 次引用
- Vegeta: Enabling Parallel Smart Contract Execution in Leaderless BlockchainsTianjing Xu, Yongqi Zhong, Yiming Zhang, Ruofan Xiong 等NSDI 2025 · 9 次引用
它引用的 Paper2
相关 Paper
- Toward High-Performance Blockchain System by Blurring the Line between Ordering and ExecutionDonghyeon Ryu, Chanik ParkSC 2024 · 6 次引用
- Utilizing Parallelism in Smart Contracts on Decentralized Blockchains by Taming Application-Inherent ConflictsPéter Garamvölgyi, Yuxi Liu, Dong Zhou, Fan Long 等ICSE 2022 · 31 次引用
- Crystality: A Programming Model for Smart Contracts on Parallel EVMsHao Wang, Minghao Pan, Jiaping WangPPoPP 2025 · 5 次引用
- Remora: Scale-out Deterministic Execution for Smart ContractsZhengqing Liu, Alberto Sonnino, Igor Zablotchi, Eleftherios Kokoris-Kogias 等VLDB 2026 · 1 次引用
- An Algorithm and Architecture Co-design for Accelerating Smart Contracts in BlockchainRui Pan, Chubo Liu, Guoqing Xiao, Mingxing Duan 等ISCA 2023 · 3 次引用
