Reliable broadcast in anonymous distributed systems with fair lossy channels

Jian Tang, Mikel Larrea, Sergio Arévalo, Ernesto JiménezInternational Journal of High Performance Computing and Networking 2017 · DOI

TL;DR

This paper tackles the challenge of implementing reliable broadcast (RB) in anonymous distributed systems where communication channels can drop messages. They first present a basic RB solution and then introduce a novel anonymous failure detector to achieve a more efficient, "quiescent" version that stops broadcasting messages once delivery is confirmed.

What Problem Does This Paper Address?

Reliable Broadcast (RB) is a fundamental building block in distributed systems, ensuring that all non-faulty processes receive the same set of messages. Traditionally, RB algorithms assume processes have unique identifiers and that communication channels are perfectly reliable. However, modern systems increasingly prioritize privacy, leading to the rise of anonymous distributed systems where processes lack unique IDs and are programmed identically. This anonymity makes it difficult to distinguish messages from different processes. Furthermore, real-world communication channels are often unreliable (fair lossy), meaning messages can be lost indefinitely. This paper bridges this gap by addressing RB in anonymous systems with fair lossy channels, a scenario that has seen limited prior research. The core challenge lies in breaking the inherent symmetry of anonymous systems to ensure reliable message delivery without compromising anonymity.

Methods

The paper proposes two main contributions:

  1. Non-Quiescent RB Algorithm: To address the symmetry problem in anonymous systems, they introduce a randomization technique. Each process uses a local random function to assign a unique, one-time "label" (or tag) to each message it broadcasts. This label, combined with a sequence number, helps distinguish messages. The algorithm then relies on periodic broadcasting of all messages in a process's local buffer (MSG_i) to overcome fair lossy channels. This approach guarantees RB but is "non-quiescent" because processes continuously broadcast messages.
  2. Quiescent RB Algorithm with Anonymous Failure Detector (AP*): To achieve a more efficient, quiescent algorithm (where broadcasting eventually stops), they introduce a new primitive: an anonymous perfect failure detector called AP*. This detector provides each process with information about which other processes are likely correct, using temporary labels instead of permanent identifiers. AP* has strong completeness (eventually all correct processes are trusted) and strong accuracy (crashed processes are eventually untrusted). This detector helps identify the set of correct processes. The quiescent RB algorithm then uses this information: processes broadcast "ACK" messages when they receive a message. By aggregating these ACKs and using the AP* detector, a process can determine when a message has been received by all suspected correct processes, allowing it to stop broadcasting that message and thus achieve quiescence.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Randomization for Anonymity: Using random labels (tags) is a clever way to break symmetry in anonymous systems without assigning permanent identifiers, thus preserving anonymity. This is crucial because traditional methods of tracking messages via sender IDs are incompatible with anonymous systems.
  • The Need for Failure Detectors in Anonymous Systems: The paper highlights that achieving efficient distributed protocols in anonymous systems often requires specialized primitives. The AP* failure detector is a novel contribution, adapting the concept of failure detection to the constraints of anonymity.
  • Quiescence as an Efficiency Goal: The distinction between non-quiescent and quiescent algorithms is important. While non-quiescent algorithms might be simpler to prove correct, quiescent ones are more practical as they reduce network traffic and computational overhead by stopping unnecessary broadcasts.
  • "Birthday Paradox" for Collision Probability: The authors reference the "birthday paradox" to argue that the probability of two different messages receiving the same random label is very low, especially with large label spaces (e.g., 128-bit), making this randomization approach robust.

Key Results

  • The paper successfully proves that Reliable Broadcast can be implemented in anonymous asynchronous systems with fair lossy communication channels, even with an arbitrary number of crashed processes.
  • They present a non-quiescent RB algorithm that works without knowing the total number of processes.
  • They introduce a novel anonymous perfect failure detector, AP*.
  • They present a quiescent RB algorithm that leverages AP* to eventually stop message broadcasting, significantly improving efficiency.

Limitations and Future Work

  • Fair Lossy Channels: While the paper addresses fair lossy channels, it assumes that if a message is sent infinitely often, it will eventually be received. This is a strong assumption for some real-world scenarios.
  • AP* Detector Implementation: The paper defines AP* but doesn't detail its implementation, which would be a significant practical challenge.
  • Performance Analysis: While the algorithms are proven correct, a detailed quantitative analysis of their performance (e.g., message complexity, latency) in various scenarios might be beneficial.
  • Future Work: The authors suggest exploring other anonymous primitives and extending their work to different system models. The development of practical implementations of AP* and the quiescent RB algorithm would be a natural next step.

Summary updated

Abstract

Reliable broadcast (RB) is a basic abstraction in distributed systems, because it allows processes to communicate consistently and reliably with each other. This abstraction has been extensively investigated in eponymous distributed systems (i.e., all processes have different identifiers) in contrast to the study in anonymous systems (i.e., all processes have no ID). Hence, this paper is aimed to study RB in anonymous distributed systems with fair lossy communication channels. Firstly, a non-quiescent RB algorithm tolerating an arbitrary number of crashed processes is given. Then, we introduce an anonymous perfect failure detector AP*. Finally, we propose an extended and quiescent RB algorithm using AP*, in which eventually no process sends messages.
BibTeX
@article{tang2017reliable,
  author = {Jian Tang and Mikel Larrea and Sergio Arévalo and Ernesto Jiménez},
  title = {{Reliable broadcast in anonymous distributed systems with fair lossy channels}},
  journal = {International Journal of High Performance Computing and Networking},
  year = {2017},
  doi = {10.1504/ijhpcn.2017.086533},
}
Figure