Weaver:通过状态解耦符号执行解锁区块链交易并行性
Weaver: Unlocking Blockchain Transaction Parallelism through State-Decoupled Symbolic Execution
AI总结:
Weaver是一种状态解耦的区块链交易处理范式,通过符号引用、分支预测与表达式粒度调度,将吞吐量较最优并行引擎提升41%-63%,达串行执行的7.5倍。
摘要:
交易执行仍是区块链的主要性能瓶颈。现有并行执行引擎仍受限于各交易关键路径上的慢速状态访问,造成并行性的隐性损失。本文提出Weaver,一种状态解耦的交易处理范式,可在缺乏具体状态值的情况下推进执行流。Weaver将状态表示为轻量级符号引用,并在动态获取具体值时,将后续计算记录为符号表达式。为处理依赖状态的控制流,Weaver通过分层符号模式匹配预测最可能的分支方向。Weaver还引入了表达式粒度调度机制,在解决每个符号表达式的状态依赖后立即对其进行评估,而非等待交易的完整读取集,从而充分挖掘交易内的细粒度并行性。对真实以太坊区块及涵盖四个代表性去中心化应用(dApp)的合成工作负载的评估显示,Weaver的吞吐量比现有最优并行执行引擎高41%-63%,是串行执行吞吐量的7.5倍。
英文摘要:
Transaction execution remains a major performance bottleneck in blockchains. Existing parallel execution engines are still blocked by slow state accesses on each transaction's critical path, creating a hidden loss of parallelism. This paper presents Weaver, a state-decoupled transaction processing paradigm that enables execution flow to proceed in the absence of concrete state values. Weaver represents states as lightweight symbolic references and records subsequent computation as symbolic expressions while concrete values are fetched on the fly. To handle state-dependent control flow, Weaver predicts the most likely branch direction through hierarchical symbolic pattern matching. Weaver further introduces expression-granular scheduling that evaluates each symbolic expression as soon as its state dependencies are resolved, rather than waiting for the transaction's entire read set, fully exploiting fine-grained intra-transaction parallelism. Evaluation on real Ethereum blocks and synthetic workloads spanning four representative dApps shows that Weaver delivers 41%-63% higher throughput than state-of-the-art parallel execution engines and up to 7.5 times the throughput of serial execution.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。