Skip to main content
QUICK REVIEW

[Paper 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 Science1 citations
TL;DR

This paper investigates the implementation of single-writer multi-reader (SWMR) registers from single-writer single-reader (SWSR) registers in systems with Byzantine failures. It proves that without process signatures, no wait-free linearizable implementation exists even if only the writer crashes or at most one reader is malicious. With signatures, a bounded wait-free linearizable implementation is achieved, matching the impossibility result and enabling full fault tolerance under any failure combination.

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.

Motivation & Objective

  • To determine whether a 1-writer n-reader register can be implemented from atomic 1-writer 1-reader registers in systems with Byzantine process failures.
  • To identify the minimal assumptions under which such an implementation is possible, particularly distinguishing between crash and malicious failures.
  • To explore the role of process signatures in enabling bounded wait-free linearizable implementations under arbitrary Byzantine failures.
  • To establish matching impossibility and possibility results that precisely characterize the boundary of feasibility for such implementations.

Proposed method

  • Proves an impossibility result showing that no wait-free linearizable implementation of a [1,n]-register exists from atomic [1,n−1]-registers, even if the writer crashes and at most one reader is malicious.
  • Constructs a linearizable implementation from atomic [1,1]-registers that ensures liveness (eventual completion) only if the writer is correct or no reader is malicious, matching the impossibility result.
  • Introduces a second implementation that uses process signatures to achieve bounded wait-freedom and linearizability under any combination of Byzantine failures.
  • Uses reductions and simulations, showing that regular [1,n]-registers can be implemented wait-free from atomic [1,1]-registers, which are then used in the main constructions.
  • Employs formal definitions of linearizability and termination (liveness), and constructs a contradiction via a carefully designed execution involving conflicting reads and writes.
  • Applies known results on regular register implementations to reduce the problem to atomic [1,1]-register constructions, enabling modular reasoning.

Experimental results

Research questions

  • RQ1Is it possible to implement a 1-writer n-reader register from atomic 1-writer 1-reader registers in systems with Byzantine failures, without process signatures?
  • RQ2What failure assumptions are necessary and sufficient to ensure both linearizability and liveness (eventual completion) in such implementations?
  • RQ3Can bounded wait-freedom be achieved for SWMR register implementations in the presence of Byzantine failures when process signatures are available?
  • RQ4What is the precise boundary between feasibility and impossibility when distinguishing between crash and malicious failures in the reader group?
  • RQ5Does the ratio of faulty to correct processes (e.g., f < n/3 or f < n/2) play a role in the feasibility of such implementations, or are the results independent of such ratios?

Key findings

  • Without process signatures, no wait-free linearizable implementation of a [1,n]-register exists from atomic [1,n−1]-registers, even if the writer can only crash and at most one reader is malicious.
  • Even under the assumption that the writer is correct and at most one reader is malicious, it is impossible to guarantee bounded step complexity for every correct reader’s read operation.
  • A linearizable implementation from atomic [1,1]-registers is possible, but liveness (eventual completion) is guaranteed only if the writer is correct or no reader is malicious, matching the impossibility result.
  • With process signatures, a bounded wait-free linearizable implementation of a [1,n]-register from atomic [1,1]-registers is achievable under any combination of Byzantine failures.
  • The results are independent of traditional fault-tolerance ratios such as f < n/3 or f < n/2, indicating a different feasibility boundary than in message-passing systems.
  • The paper establishes a tight correspondence between the impossibility result and the liveness condition of the proposed implementation, showing that the assumptions are both necessary and sufficient.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.