Seer: Accelerating Blockchain Transaction Execution by Fine-Grained Branch Prediction
Increasingly popular decentralized applications (dApps) with complex application logic incur significant overhead for executing smart contract transactions, which greatly limits public blockchain performance. Pre-executing transactions off the critical path can mitigate substantial I/O and computation costs during execution. However, pre-execution does not yield any state transitions, rendering the system state inconsistent with actual execution. This inconsistency can lead to deviations in pre-execution paths when processing smart contracts with multiple state-related branches, thus diminishing pre-execution effectiveness. In this paper, we develop Seer, a novel public blockchain execution engine that incorporates fine-grained branch prediction to fully exploit pre-execution effectiveness. Seer predicts state-related branches using a two-level prediction approach, reducing inconsistent execution paths more efficiently than executing all possible branches. To enable effective reuse of pre-execution results, Seer employs checkpoint-based fast-path execution, enhancing transaction execution for both successful and unsuccessful predictions. Evaluations with realistic blockchain workloads demonstrate that Seer delivers an average of 27.7× transaction-level speedup and an overall 20.6× speedup in the execution phase over vanilla Ethereum, outperforming existing blockchain execution acceleration solutions.
Authors
- Jiang Xiao (ORCID: https://orcid.org/0000-0002-4216-0497)
- Hai Jin (ORCID: https://orcid.org/0000-0002-3934-7605)
- Bo Li (ORCID: https://orcid.org/0000-0003-2083-9105)
- Shijie Zhang (ORCID: https://orcid.org/0000-0001-8489-4010)
- Ran Cheng (ORCID: https://orcid.org/0000-0003-1264-3946)
- Xinpeng Liu (ORCID: https://orcid.org/0000-0002-4809-4945)
Institutions
- Hong Kong University of Science and Technology (HK)
Publication Details
- Journal
- Proceedings of the VLDB Endowment
- Published
- 2024-11-01
- DOI
- https://doi.org/10.14778/3712221.3712245
- Primary Topic
- Blockchain Technology Applications and Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00