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.
翻译:碎裂是一个大有希望的块块缩缩解决方案。 但目前,在交叉碎裂交易方面,它存在高悬浮度和低吞吐量问题,即需要多重碎片协调的交易。这些限制的根源在于传统的双阶段承诺协议的使用,这涉及到长期锁定资产。本文介绍了链块分割的新范例Rivet,这是在跨硬交易中实现低悬浮和较高吞吐量的块块块新范例。Rivet有一个单一的参考软体,运行着共识,以及许多工人的硬体,维持脱节状态和处理系统中的一组交易。Rivet避免了在每个工人硬体内部达成共识的需要,因此,容忍了在硬体和低度通信管理中更多的失败。我们证明了Rivet的正确性和安全性。我们还提出了一个更现实的框架,通过在真正的 Etheinum交易的基础上建立一个基准来评估僵硬的块链。在50+AWS EC2的交叉交易中,我们原型和基线两阶段交易的落实情况评估在50+EWS EC2的交叉交易中展示了我们的评估框架。