A Decentralized and Self-Adaptive Approach for Monitoring Volatile Edge Environments

Shashikant Ilager, Jakob Fahringer, Alessandro Tundo, Ivona Brandic

TL;DR

DEMon (Decentralized Edge Monitoring) is a new system designed to monitor highly volatile edge computing environments without relying on a central controller. By combining a stochastic gossip protocol for data spreading with a leaderless quorum consensus for retrieval, it achieves high resilience (handling up to 90% node failure) with minimal resource overhead.

What Problem Does This Paper Address?

In traditional Cloud computing, monitoring is easy: you have stable, powerful servers and a centralized "brain" (like Prometheus or Zabbix) that collects data. However, the Edge is a different beast. Edge environments are "volatile"—nodes (like IoT gateways or micro-data centers) frequently join or leave due to power constraints, mobility, or network failures.

Traditional centralized monitoring fails at the edge because it creates a single point of failure and consumes too much bandwidth over unreliable links. Existing decentralized attempts often still rely on "leader" nodes, which become bottlenecks when those specific nodes fail. The authors tackle the challenge of creating a monitoring system that is truly decentralized, self-adaptive, and lightweight enough to run on resource-constrained hardware.

Methods

The authors introduce DEMon, which rests on three architectural pillars:

  1. Gossip-based Dissemination: Instead of sending data to a central server, each node periodically picks a few random neighbors and swaps "metadata" (summaries of what it knows). If a neighbor has newer information, they exchange the full state. This "rumor-mongering" approach ensures information spreads exponentially across the network without overloading any single path.
  2. Self-Adaptive Node Management: DEMon automatically handles nodes joining and leaving. If a node hasn't been heard from by a certain number of peers (the failures_threshold), it is autonomously purged from the local state repositories across the network.
  3. Leaderless Quorum Consensus (LQC): For data retrieval, DEMon avoids the overhead of heavy consensus protocols like Paxos or Raft. Instead, a client queries a "quorum" (a subset) of random nodes. If the timestamps and cryptographic digests of the data match across the quorum, the data is considered trustworthy. This ensures data integrity even if some nodes are malicious or out-of-sync.

The system is implemented as a portable, containerized Python application using Flask for APIs and SQLite for long-term "checkpoint" storage.

Datasets

The researchers evaluated DEMon using two primary setups:

  • Emulated Environment: A large-scale testbed using Docker containers on a 40-core server, scaling up to 300 nodes to test convergence and resource usage.
  • Physical Testbed: A cluster of 12 Raspberry Pi devices (RPi 3 and RPi 4) to simulate a real-world edge deployment.
  • Edge User Allocation Dataset: For their mobile computing use case, they used this real-world dataset containing geo-locations of edge servers and users in Melbourne, Australia, to simulate realistic offloading requests.

Key Insights and Ideas

  • The Power of "Weak" Consistency: DEMon doesn't promise that every node has the exact same data at the exact same microsecond (strong consistency). Instead, it prioritizes availability and partition tolerance. For edge monitoring, knowing a node's status with a 2-second delay is often better than the system crashing because a central leader went offline.
  • Probabilistic Storage: Because every node eventually learns about every other node through gossip, the system's state is effectively replicated everywhere. This makes the monitoring data nearly impossible to lose, even during massive network partitions.
  • Efficiency through Metadata: By swapping small hashes (digests) before sending full monitoring packets, DEMon drastically reduces wasted bandwidth, which is critical for edge networks (LTE, satellite, etc.).

Key Results

  • Scalability: In a 300-node network, the system reached "convergence" (everyone knowing about everyone) in fewer than 25 gossip rounds.
  • Low Overhead: The DEMon agent is incredibly lean, consuming less than 0.75% of CPU resources on average.
  • Extreme Resilience: The Leaderless Quorum Consensus (LQC) successfully retrieved accurate monitoring data even when 90% of the nodes in the network were failing.
  • Comparison with Baseline: Compared to FogMon2 (a hierarchical leader-based system), DEMon required more messages initially to converge but showed much better stability and lower resource footprints as the system size grew.

Limitations and Future Work

The authors acknowledge several areas for improvement:

  • Security: While the LQC protocol ensures data hasn't been tampered with, the current prototype lacks robust node authentication and authorization (e.g., preventing a rogue node from joining the gossip pool).
  • Language Overhead: The prototype is written in Python for rapid development. The authors suggest that moving to a systems language like Go or C++ and using gRPC instead of REST APIs would further reduce latency and memory usage.
  • Query Complexity: Currently, the system supports simple lookups by Node ID. Future work involves implementing a more sophisticated query language to allow for complex filtering (e.g., "find all nodes with >50% CPU available").

Summary updated

BibTeX
@article{ilager2026decentralized,
  author = {Shashikant Ilager and Jakob Fahringer and Alessandro Tundo and Ivona Brandic},
  title = {{A Decentralized and Self-Adaptive Approach for Monitoring Volatile Edge Environments}},
  journal = {ACM Trans. Auton. Adapt. Syst.},
  year = {2026},
  doi = {10.1145/3736726},
}
Figure