Skip to main content
QUICK REVIEW

[论文解读] On Implementing SWMR Registers from SWSR Registers in Systems with Byzantine Failures

Xing Hu, Sam Toueg|arXiv (Cornell University)|Jan 1, 2022
Distributed systems and fault toleranceComputer Science被引用 1
一句话总结

本文研究了在存在拜占庭故障的系统中,从单写者单读者(SWSR)寄存器实现单写者多读者(SWMR)寄存器的问题。证明了在无进程签名的情况下,即使仅写者崩溃或最多一个读者恶意,也不存在无等待的线性化实现。在有签名的情况下,实现了有界无等待的线性化实现,与不可能性结果相匹配,并在任意故障组合下实现了完整的容错能力。

ABSTRACT

The implementation of registers from (potentially) weaker registers is a classical problem in the theory of distributed computing. Since Lamport’s pioneering work [Leslie Lamport, 1986], this problem has been extensively studied in the context of asynchronous processes with crash failures. In this paper, we investigate this problem in the context of Byzantine process failures, with and without process signatures. In particular, we first show a strong impossibility result, namely, that there is no wait-free linearizable implementation of a 1-writer n-reader register from atomic 1-writer (n-1)-reader registers. In fact, this impossibility result holds even if all the processes except the writer are given atomic 1-writer n-reader registers, and even if we assume that the writer can only crash and at most one reader is subject to Byzantine failures. In light of this impossibility result, we give two register implementations. The first one implements a 1-writer n-reader register from atomic 1-writer 1-reader registers. This implementation is linearizable (under any combination of Byzantine process failures), but it is wait-free only under the assumption that the writer is correct or no reader is Byzantine - thus matching the impossibility result. The second implementation assumes process signatures; it is wait-free and linearizable under any number and combination of Byzantine process failures.

研究动机与目标

  • 确定在存在拜占庭进程故障的系统中,是否能够从原子的单写者单读者寄存器实现1-写者n-读者寄存器。
  • 识别此类实现可能成立的最小假设,特别是区分崩溃故障与恶意故障。
  • 探讨进程签名在实现任意拜占庭故障组合下的有界无等待线性化实现中的作用。
  • 建立精确匹配的不可能性与可能性结果,从而精确刻画此类实现的可行性边界。

提出的方法

  • 证明了一个不可能性结果:即使写者仅崩溃且最多一个读者恶意,也不存在从原子的[1,n−1]-寄存器实现[1,n]-寄存器的无等待线性化实现。
  • 构建了一个从原子的[1,1]-寄存器出发的线性化实现,仅当写者正确或无读者恶意时保证活性(最终完成),与不可能性结果一致。
  • 提出第二种实现,利用进程签名,在任意拜占庭故障组合下实现有界无等待性与线性化。
  • 使用归约与模拟技术,表明可从原子的[1,1]-寄存器无等待地实现常规[1,n]-寄存器,该结果被用于主构造中。
  • 采用线性化与终止(活性)的正式定义,并通过精心设计的、包含冲突读写操作的执行过程构造矛盾。
  • 应用已知的常规寄存器实现结果,将问题归约为原子[1,1]-寄存器构造,从而支持模块化推理。

实验结果

研究问题

  • RQ1在无进程签名的情况下,是否能够从原子的1-写者1-读者寄存器实现1-写者n-读者寄存器,且系统中存在拜占庭故障?
  • RQ2为确保此类实现中线性化与活性(最终完成)的成立,需要哪些故障假设?这些假设是必要且充分的吗?
  • RQ3当存在进程签名时,是否能够在拜占庭故障存在的情况下实现SWMR寄存器实现的有界无等待性?
  • RQ4在区分读者组中崩溃故障与恶意故障的前提下,此类实现的可行性与不可能性之间的精确边界是什么?
  • RQ5故障进程与正确进程的比例(例如 f < n/3 或 f < n/2)是否影响此类实现的可行性?还是说结果与这些比例无关?

主要发现

  • 在无进程签名的情况下,即使写者仅崩溃且最多一个读者恶意,也不存在从原子的[1,n−1]-寄存器实现[1,n]-寄存器的无等待线性化实现。
  • 即使假设写者正确且最多一个读者恶意,也无法保证每个正确读者的读操作具有有界步数复杂度。
  • 从原子的[1,1]-寄存器出发,线性化实现是可能的,但活性(最终完成)仅在写者正确或无读者恶意时得到保证,与不可能性结果一致。
  • 在有进程签名的情况下,从原子的[1,1]-寄存器出发,可在任意拜占庭故障组合下实现[1,n]-寄存器的有界无等待线性化实现。
  • 结果与传统的容错比例(如 f < n/3 或 f < n/2)无关,表明其可行性边界与消息传递系统不同。
  • 本文建立了不可能性结果与所提实现活性条件之间的紧密对应关系,表明所作假设既必要又充分。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。