2P-BFT-Log:面向对抗环境的两阶段单作者仅追加日志
2P-BFT-Log: 2-Phase Single-Author Append-Only Log for Adversarial Environments
AI总结:
本文提出 2P-BFT-Log,一种两阶段复制仅追加日志,通过最终检测恶意分叉并提供不可否认证据,在对抗环境中实现最终一致性,支持廉价的检测与修复范式。
摘要:
复制的仅追加日志按顺序排列来自同一作者的消息,使得即使单个消息的传播是无序且不可靠的,其顺序最终也能被恢复。它们被广泛用于在云和对等环境中实现复制服务,因为它们提供了简单且高效的增量协调。然而,现有的复制仅追加日志设计假设副本会忠实地维护日志的顺序属性,并且当恶意参与者通过向不同副本传播同一索引的不同消息来分叉其日志时,无法提供最终一致性,这可能导致副本根据首先复制的分支而发生分区。在本文中,我们提出了 2P-BFT-Log,这是一种两阶段复制仅追加日志,它在存在恶意参与者分叉的情况下提供最终一致性,使得所有正确的副本最终要么就有效日志的最新消息达成一致(第一阶段),要么就发生分叉的最早点以及证明其发生的不可否认证据达成一致(第二阶段)。我们提供了该设计关键属性的定义、算法和证明,并解释了将该设计实现到 Git 上的一种方法,Git 是一种最初为分布式版本控制设计的最终一致性复制数据库。我们的设计使正确的副本能够忠实地实现 Lamport 首次引入的 happens-before 关系,该关系支撑了大多数现有的分布式算法,同时最终检测来自恶意参与者的分叉,以将后者排除在进一步的进展之外。这为将现有分布式算法调整为更廉价的检测与修复范式打开了大门,而不是更常见且昂贵的对不正确行为的系统性预防。
英文摘要:
Replicated append-only logs sequentially order messages from the same author such that their ordering can be eventually recovered even with out-of-order and unreliable dissemination of individual messages. They are widely used for implementing replicated services in both clouds and peer-to-peer environments because they provide simple and efficient incremental reconciliation. However, existing designs of replicated append-only logs assume replicas faithfully maintain the sequential properties of logs and do not provide eventual consistency when malicious participants fork their logs by disseminating different messages to different replicas for the same index, which may result in partitioning of replicas according to which branch was first replicated. In this paper, we present 2P-BFT-Log, a two-phase replicated append-only log that provides eventual consistency in the presence of forks from malicious participants such that all correct replicas will eventually agree either on the most recent message of a valid log (first phase) or on the earliest point at which a fork occurred as well as on an irrefutable proof that it happened (second phase). We provide definitions, algorithms, and proofs of the key properties of the design, and explain one way to implement the design onto Git, an eventually consistent replicated database originally designed for distributed version control. Our design enables correct replicas to faithfully implement the happens-before relationship first introduced by Lamport that underpins most existing distributed algorithms, with eventual detection of forks from malicious participants to exclude the latter from further progress. This opens the door to adaptations of existing distributed algorithms to a cheaper detect and repair paradigm, rather than the more common and expensive systematic prevention of incorrect behaviour.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。