[论文解读] Prophet: Conflict-Free Sharding Blockchain via Byzantine-Tolerant Deterministic Ordering
Prophet 提出了一种无冲突分片区块链,通过拜占庭容错的确定性排序机制消除了事务回滚。通过使用不受信任的侦察联盟预先执行跨分片事务,并基于无状态验证的全局排序机制,Prophet 在以太坊规模工作负载下实现了 3.11 倍的吞吐量提升(1203 TPS)、62.9% 的延迟降低以及接近零的回滚率,即使在 64 个分片和高达 25% 的恶意节点情况下依然如此。
Sharding scales throughput by splitting blockchain nodes into parallel groups. However, different shards' independent and random scheduling for cross-shard transactions results in numerous conflicts and aborts, since cross-shard transactions from different shards may access the same account. A deterministic ordering can eliminate conflicts by determining a global order for transactions before processing, as proved in the database field. Unfortunately, due to the intertwining of the Byzantine environment and information isolation among shards, there is no trusted party able to predetermine such an order for cross-shard transactions. To tackle this challenge, this paper proposes Prophet, a conflict-free sharding blockchain based on Byzantine-tolerant deterministic ordering. It first depends on untrusted self-organizing coalitions of nodes from different shards to pre-execute cross-shard transactions for prerequisite information about ordering. It then determines a trusted global order based on stateless ordering and post-verification for pre-executed results, through shard cooperation. Following the order, the shards thus orderly execute and commit transactions without conflicts. Prophet orchestrates the pre-execution, ordering, and execution processes in the sharding consensus for minimal overhead. We rigorously prove the determinism and serializability of transactions under the Byzantine and sharded environment. An evaluation of our prototype shows that Prophet improves the throughput by $3.11 imes$ and achieves nearly no aborts on 1 million Ethereum transactions compared with state-of-the-art sharding.
研究动机与目标
- 解决由跨分片事务中的竞争条件引起的高事务回滚率问题。
- 在拜占庭环境中,不依赖可信第三方,消除跨分片事务中的冲突。
- 设计一种可扩展的无冲突分片架构,在对抗性条件下保持可串行化和确定性。
- 通过实现跨分片事务的一轮提交机制,降低确认延迟并提升吞吐量。
提出的方法
- 利用来自不同分片的不受信任的自组织联盟节点,预先执行跨分片事务并收集必要的排序信息。
- 采用无状态排序机制,基于预执行结果确定全局事务顺序,确保确定性。
- 引入事后验证校正阶段,检测并拒绝无效事务,维持拜占庭容错能力。
- 通过分层架构协调预执行、全局排序和执行阶段,最大限度减少共识开销。
- 支持异步校正和跨分片的并行执行,提升效率并降低延迟。
- 采用细粒度排序和通信高效的预执行机制,实现分片数量增加时的可扩展性。
实验结果
研究问题
- RQ1能否在无可信第三方参与的拜占庭环境中构建无冲突的分片区块链,以对跨分片事务进行排序?
- RQ2在存在信息隔离和不可信节点的分片系统中,如何实现确定性排序?
- RQ3大规模分片区块链中,预执行和全局排序的性能开销如何?
- RQ4系统在存在恶意节点的对抗性条件下,如何维持可串行化和确定性?
- RQ5在无冲突分片模型中,分片数量的增加对吞吐量、延迟和回滚率有何影响?
主要发现
- Prophet 在 100 万笔以太坊事务上相比最先进的分片区块链实现了 3.11 倍的吞吐量提升(1203 TPS)。
- 与非确定性分片系统相比,系统将确认延迟降低了 62.9%,且在分片数量增加时性能保持稳定。
- 无论跨分片合约调用数量多少,Prophet 均保持 0% 的回滚率,而基于 OCC 的系统在超过两个合约调用时事务回滚率超过 50%。
- 预执行阶段具有高效可扩展性,单节点每线程 5 个线程时达到 334 TPS,且随着分片数量增加,通信开销依然保持较低水平。
- 恶意节点影响微乎其微,导致的无效事务比例不足 2%,且随着诚实联盟的形成,系统能随时间自我校正。
- 每笔事务的平均消息大小随分片数量仅略有增加(从 32 个分片时的 177 字节增至 64 个分片时的 322 字节),表明通信扩展效率高。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。