arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.14521cs.CR
收藏

分片区块链中高效的跨分片事务执行

Efficient Cross-Shard Transaction Execution in Sharded Blockchains

Sourav Das, Vinith Krishnan, Ling Ren

摘要:

分片是一种很有前途的区块链扩展解决方案。但它目前在跨分片事务方面存在高延迟和低吞吐量,即,需要多个分片协调的事务。这些限制的根本原因是使用了经典的两阶段提交协议,这涉及到长时间锁定资产。本文介绍了Rivet,这是一种新的区块链分片范例,可以为跨分片事务实现更低的延迟和更高的吞吐量。Rivet有一个运行共识的引用分片,以及多个维护不相交状态并处理系统中事务子集的工作分片。铆钉消除了每个工作分片内的共识需求,因此,可以容忍分片内的更多故障并降低通信开销。我们证明了铆钉的正确性和安全性。我们还提出了一个更现实的框架,通过创建基于真实以太坊交易的基准来评估分片区块链。使用我们的评估框架,在50多个AWS EC2实例上对我们的Rivet原型实现和基线两阶段提交进行了评估,展示了跨分片事务的延迟和吞吐量改进。

英文摘要:

Sharding is a promising blockchain scaling solution. But it currently suffers from high latency and low throughput when it comes to cross-shard transactions, i.e., transactions that require coordination from multiple shards. The root cause of these limitations arise from the use of the classic two-phase commit protocol, which involves locking assets for extended periods of time. This paper presents Rivet, a new paradigm for blockchain sharding that achieves lower latency and higher throughput for cross-shard transactions. Rivet has a single reference shard running consensus, and multiple worker shards maintaining disjoint states and processing a subset of transactions in the system. Rivet obviates the need for consensus within each worker shard, and as a result, tolerates more failures within a shard and lowers communication overhead. We prove the correctness and security of Rivet. We also propose a more realistic framework for evaluating sharded blockchains by creating a benchmark based on real Ethereum transactions. An evaluation of our prototype implementation of Rivet and the baseline two-phase commit, atop 50+ AWS EC2 instances, using our evaluation framework demonstrates the latency and throughput improvements for cross-shard transactions.

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

↑