Skip to main content
QUICK REVIEW

[Paper Review] Dependability in Aggregation by Averaging

Paulo Jesus, Carlos Baquero|arXiv (Cornell University)|Nov 30, 2010
Distributed systems and fault toleranceComputer Science20 references16 citations
TL;DR

This paper identifies critical dependability issues in averaging-based aggregation algorithms—particularly Push-Sum, Push-Pull Gossip, and Distributed Random Grouping—under realistic conditions like asynchrony, message loss, and node failures. It proposes two enhanced versions of the Push-Pull Gossip protocol (Push-Pull Back Cancellation and Push-Pull Ordered Wait) to resolve message interleaving problems, restoring correctness at the cost of reduced convergence speed.

ABSTRACT

Aggregation is an important building block of modern distributed applications, allowing the determination of meaningful properties (e.g. network size, total storage capacity, average load, majorities, etc.) that are used to direct the execution of the system. However, the majority of the existing aggregation algorithms exhibit relevant dependability issues, when prospecting their use in real application environments. In this paper, we reveal some dependability issues of aggregation algorithms based on iterative averaging techniques, giving some directions to solve them. This class of algorithms is considered robust (when compared to common tree-based approaches), being independent from the used routing topology and providing an aggregation result at all nodes. However, their robustness is strongly challenged and their correctness often compromised, when changing the assumptions of their working environment to more realistic ones. The correctness of this class of algorithms relies on the maintenance of a fundamental invariant, commonly designated as "mass conservation". We will argue that this main invariant is often broken in practical settings, and that additional mechanisms and modifications are required to maintain it, incurring in some degradation of the algorithms performance. In particular, we discuss the behavior of three representative algorithms Push-Sum Protocol, Push-Pull Gossip protocol and Distributed Random Grouping under asynchronous and faulty (with message loss and node crashes) environments. More specifically, we propose and evaluate two new versions of the Push-Pull Gossip protocol, which solve its message interleaving problem (evidenced even in a synchronous operation mode).

Motivation & Objective

  • To expose critical dependability flaws in averaging-based aggregation algorithms when deployed in realistic, non-ideal network environments.
  • To analyze the behavior of three representative algorithms—Push-Sum, Push-Pull Gossip, and Distributed Random Grouping—under asynchrony, message loss, and node crashes.
  • To identify that the fundamental invariant of mass conservation is frequently violated in practice, undermining correctness.
  • To propose and evaluate two enhanced versions of the Push-Pull Gossip protocol to resolve its message interleaving problem even in synchronous settings.
  • To demonstrate that fault tolerance mechanisms degrade performance but are essential for practical deployment of averaging algorithms.

Proposed method

  • Proposes Push-Pull Back Cancellation: a mechanism where a node ignores all incoming messages after sending a push, until it receives the corresponding pull, using a dummy message to preserve state.
  • Introduces Push-Pull Ordered Wait: a buffering mechanism that queues incoming push messages during active operations, with a total order (based on node UID) to prevent cyclic waiting and deadlocks.
  • Uses a total ordering of nodes (by UID) to restrict push-pull operations to only higher-ID nodes, preventing cyclic dependencies in the waiting graph.
  • Employs a simulation environment to compare convergence speed and message overhead between the original and enhanced protocols.
  • Evaluates both new protocols against the original Push-Pull Gossip in terms of convergence accuracy and communication cost.
  • Analyzes the impact of message loss and node failures on the correctness of averaging algorithms, emphasizing the breakdown of mass conservation.

Experimental results

Research questions

  • RQ1How do averaging-based aggregation algorithms perform under practical network conditions such as asynchrony, message loss, and node crashes?
  • RQ2Why does the correctness of Push-Pull Gossip fail even in synchronous settings due to message interleaving?
  • RQ3What mechanisms can restore the mass conservation invariant in averaging algorithms under faulty and asynchronous environments?
  • RQ4How do additional fault tolerance mechanisms affect the convergence speed and communication overhead of averaging algorithms?
  • RQ5Can the Push-Pull Gossip protocol be enhanced to ensure correctness without sacrificing too much performance?

Key findings

  • The original Push-Pull Gossip protocol exhibits convergence failures due to message interleaving, even in synchronous environments, breaking the mass conservation invariant.
  • The Push-Pull Back Cancellation mechanism successfully restores correctness by preventing interference during active push-pull operations, but at the cost of executing dummy message exchanges.
  • The Push-Pull Ordered Wait protocol achieves better convergence speed than Back Cancellation by allowing all message contributions to be processed, avoiding wasted communication.
  • Both enhanced protocols restore correctness under asynchrony and faults, but result in slower convergence compared to the original algorithm.
  • The message overhead of the Push-Pull Ordered Wait protocol remains comparable to the original algorithm, indicating minimal degradation in communication cost.
  • The study confirms that mass conservation is fragile in practice and that additional mechanisms are essential for dependable aggregation in real-world distributed systems.

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.