arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2401.16292cs.DC
收藏

Pilotfish:面向可扩展区块链的分布式执行

Pilotfish: Distributed Execution for Scalable Blockchains

Quentin Kniep, Lefteris Kokoris-Kogias, Alberto Sonnino, Igor Zablotchi, Nuda Zhang

AI总结:

针对区块链因过度配置验证器处理峰值负载导致的资源低效等问题,提出首个横向扩展交易执行引擎Pilotfish,通过分布式执行实现验证器水平扩展,与惰性区块链架构无缝集成,线性扩展至8个工作机且保持低延迟,填补执行弹性缺失环节。

摘要:

可扩展性是现代大规模系统的关键需求,可实现弹性并确保在不同负载下的响应性。虽然云系统已实现可扩展架构,但区块链系统仍受限于需过度配置验证器机器以处理峰值负载的需求,导致资源低效、成本扩展性差和性能受限。为应对这些挑战,我们引入Pilotfish,首个面向区块链的横向扩展交易执行引擎。Pilotfish使验证器能通过将交易执行分布在多台工作机上实现水平扩展,在不影响一致性或确定性的前提下实现弹性;它与惰性区块链架构无缝集成,填补了执行弹性的缺失环节。为实现这一点,Pilotfish解决了多个关键挑战:确保可扩展且强一致的分布式交易、通过轻量级复制处理部分崩溃恢复,以及利用新颖的版本队列调度算法维持并发。我们的评估显示,对于计算密集型工作负载,Pilotfish可线性扩展至每个验证器至少8个工作机,同时保持低延迟。通过解决可扩展执行问题,Pilotfish使区块链更接近实现端到端弹性,为高效且适应性强的区块链系统解锁新可能。

英文摘要:

Scalability is a crucial requirement for modern large-scale systems, enabling elasticity and ensuring responsiveness under varying load. While cloud systems have achieved scalable architectures, blockchain systems remain constrained by the need to over-provision validator machines to handle peak load. This leads to resource inefficiency, poor cost scaling, and limits on performance. To address these challenges, we introduce Pilotfish, the first scale-out transaction execution engine for blockchains. Pilotfish enables validators to scale horizontally by distributing transaction execution across multiple worker machines, allowing elasticity without compromising consistency or determinism. It integrates seamlessly with the lazy blockchain architecture, completing the missing piece of execution elasticity. To achieve this, Pilotfish tackles several key challenges: ensuring scalable and strongly consistent distributed transactions, handling partial crash recovery with lightweight replication, and maintaining concurrency with a novel versioned-queue scheduling algorithm. Our evaluation shows that Pilotfish scales linearly up to at least eight workers per validator for compute-bound workloads, while maintaining low latency. By solving scalable execution, Pilotfish brings blockchains closer to achieving end-to-end elasticity, unlocking new possibilities for efficient and adaptable blockchain systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑