Ira: Efficient Transaction Replay for Distributed Systems
Adithya Bhat, Harshal Bhadreshkumar Shah, Mohsen Minaei
摘要
In primary-backup replication, the consensus latency is bounded by the time for backup nodes to replay (re-execute) transactions proposed by the primary. Our key insight is that the primary, having already executed transactions, possesses knowledge of future access patterns which is the information needed for optimal replay by the backups. In this work, we present Ira, a framework to accelerate backup replay by transmitting compact hints alongside transaction batches.
We use Ethereum for our case study and present a concrete protocol, Ira-L, within our framework to improve cache management of Ethereum block execution. The primaries implementing Ira-L provide hints that consist of the working set of keys used in an Ethereum block and one byte of metadata per key indicating the table to read from, and backups use these hints for efficient block replay.
We evaluated Ira-L against the state-of-the-art Ethereum client reth over two weeks of Ethereum blocks (100, 800 blocks, 24 million transactions). Our hint generation adds 10.9% overhead to primary execution time. On the backup, our hint-driven prefetching speeds up aggregate replay by 5.2× with a single prefetch thread, and by 23.6× with 16 threads. Our hints add a median of 47 KB compressed metadata per block (∼5% of block payload).
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
它引用的 Paper8
- A hierarchical neural model of data prefetchingZhan Shi, Akanksha Jain, Kevin Swersky, Milad Hashemi 等ASPLOS 2021 · 100 次引用
- Block-STM: Scaling Blockchain Execution by Turning Ordering Curse to a Performance BlessingRati Gelashvili, Alexander Spiegelman, Zhuolun Xiang, George Danezis 等PPoPP 2023 · 49 次引用
- Effective Mimicry of Belady's MIN PolicyIshan Shah, Akanksha Jain, Calvin LinHPCA 2022 · 44 次引用
- Nurgle: Exacerbating Resource Consumption in Blockchain State Storage via MPT ManipulationZheyuan He, Zihao Li, Ao Qiao, Xiapu Luo 等S&P 2024 · 21 次引用
- Forerunner: Constraint-based Speculative Transaction Execution for EthereumYang Chen, Zhongxin Guo, Runhuai Li, Shuo Chen 等SOSP 2021 · 18 次引用
相关 Paper
- ECCB: Boosting Block Propagation of Blockchain with Erasure-Coded Compact BlockBingyi Cai, Shenggang Wan, Hong JiangEuroSys 2026
- iBatch: saving Ethereum fees via secure and cost-effective batching of smart-contract invocationsYibo Wang, Qi Zhang, Kai Li, Yuzhe Tang 等FSE 2021 · 15 次引用
- Log Replaying for Real-Time HTAP: An Adaptive Epoch-Based Two-Stage FrameworkJun-Peng Zhu, Zhiwei Ye, Peng Cai, Donghui Wang 等ICDE 2024 · 5 次引用
- Vegeta: Enabling Parallel Smart Contract Execution in Leaderless BlockchainsTianjing Xu, Yongqi Zhong, Yiming Zhang, Ruofan Xiong 等NSDI 2025 · 9 次引用
- SlimArchive: A Lightweight Architecture for Ethereum Archive NodesHang Feng, Yufeng Hu, Yinghan Kou, Runhuai Li 等USENIX ATC 2024 · 11 次引用
