Anthemius:面向并发执行的高效模块化区块组装
Anthemius: Efficient & Modular Block Assembly for Concurrent Execution
AI总结:
针对区块链并行执行受同资源交易冲突限制的问题,本文提出模块化区块构建算法 Anthemius,通过组装区块优化并发交易吞吐量,并在多类工作负载下使并行引擎处理能力提升逾两倍。
摘要:
许多区块链(如 Ethereum)会按顺序执行所有传入交易,这显著限制了潜在吞吐量。扩展执行能力的一种常见方法是使用并行执行引擎,以充分利用现代多核架构。并行执行随后要么以乐观方式进行,即并行执行交易并在运行过程中检测冲突;要么以引导方式进行,即要求客户端提供详尽的交易提示,并据此调度交易。然而,近期研究表明,并行执行引擎的性能取决于底层工作负载的性质。事实上,在某些情况下,与顺序执行相比只能获得 60% 的加速。原因在于访问相同资源的交易必须顺序执行。例如,如果一个区块中 10% 的交易访问同一资源,执行规模就无法有效扩展到超过 10 个核心。因此,单个热门应用就可能成为执行瓶颈并限制潜在吞吐量。本文提出 Anthemius,这是一种优化并行交易执行吞吐量的区块构建算法。我们在一系列工作负载下对 Anthemius 进行了详尽评估,结果表明 Anthemius 使底层并行执行引擎能够处理两倍以上的交易。
英文摘要:
Many blockchains such as Ethereum execute all incoming transactions sequentially significantly limiting the potential throughput. A common approach to scale execution is parallel execution engines that fully utilize modern multi-core architectures. Parallel execution is then either done optimistically, by executing transactions in parallel and detecting conflicts on the fly, or guided, by requiring exhaustive client transaction hints and scheduling transactions accordingly. However, recent studies have shown that the performance of parallel execution engines depends on the nature of the underlying workload. In fact, in some cases, only a 60% speed-up compared to sequential execution could be obtained. This is the case, as transactions that access the same resources must be executed sequentially. For example, if 10% of the transactions in a block access the same resource, the execution cannot meaningfully scale beyond 10 cores. Therefore, a single popular application can bottleneck the execution and limit the potential throughput. In this paper, we introduce Anthemius, a block construction algorithm that optimizes parallel transaction execution throughput. We evaluate Anthemius exhaustively under a range of workloads, and show that Anthemius enables the underlying parallel execution engine to process over twice as many transactions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。