Communication-efficient Outlier Detection for Scale-out Systems

Moshe Gabel, Daniel Keren, Assaf Schuster

Introduction

In modern large-scale datacenters, thousands of machines continuously generate hundreds of performance metrics, such as CPU usage, disk I/O, and database query rates. Detecting "latent faults"—subtle anomalies that precede major hardware or software failures—is critical for maintaining system reliability. However, traditional monitoring approaches often struggle with the sheer volume of data, leading to network congestion or excessive computational overhead at central monitoring nodes.

The Challenge of Scale-out Monitoring

Existing monitoring solutions typically face a "catch-22" regarding scalability and accuracy:

  1. Centralized Monitoring: Requires all metrics to be sent to a central coordinator, creating massive bandwidth bottlenecks and requiring immense processing power.
  2. Rule-based Systems: Are often too rigid and require constant manual tuning to remain effective.
  3. Supervised Learning: Depends on labeled failure data, which is rare and changes whenever the software stack is updated.

The challenge is to develop an unsupervised, real-time system capable of monitoring thousands of nodes without saturating the network.

Proposed Methodology

The researchers introduced a framework that adapts an unsupervised statistical "Sign Test" to work on compressed data and "safe zones," significantly reducing the volume of monitoring data sent across the network.

AMS Sketching

To handle high-dimensional metric vectors (often 200+ counters), each machine applies a random linear projection known as an AMS sketch. This reduces the data to a much smaller dimension (e.g., 10). Because the Sign Test relies on the direction of vectors rather than their exact values, the authors proved that the test remains statistically valid on these compressed sketches. This "in situ" processing frees the central coordinator from the "curse of dimensionality."

Geometric Safe Zones

To further minimize network traffic, the system employs geometric "safe zones." The central coordinator defines a convex set representing "normal" behavior for a machine. A machine only communicates with the coordinator if its local metrics violate this boundary.

Illustration of geometric safe zones showing upper and lower thresholds for metric monitoring.

When a violation occurs, the coordinator synchronizes the cluster and updates the safe zones. This approach ensures that communication only happens when statistically significant changes occur, rather than on every heartbeat.

Experimental Results

The approach was evaluated using production logs from 260 machines. The results demonstrate that the system can achieve massive data reduction without sacrificing detection accuracy.

High Fidelity and Data Reduction

The sketching technique reduced data size by 92%, compressing 123 performance counters into just 10 dimensions. Despite this aggressive compression, the outlier scores remained highly accurate compared to full-data methods.

Correlation between outlier scores calculated from full data versus compressed sketches, showing an R-squared value of 0.966.

As shown in the regression analysis, the outlier scores calculated from compressed sketches matched the original full-data scores with an $R^2$ value of 0.966. Combined with safe zones, the total communication reduction exceeded 90%.

Predictive Power

Previous studies using this framework on larger systems (4,500 machines) showed that 20% of failures were preceded by detectable latent faults. The system can identify these anomalies up to 14 days before a total failure with approximately 70% precision, providing a significant window for proactive maintenance.

Conclusion

By leveraging sketching and safe zones, this framework provides a scalable, communication-efficient solution for datacenter monitoring. It offers rigorous statistical guarantees through p-values, allowing operators to manage false positives effectively while predicting failures well in advance. Future work will explore the trade-offs between communication overhead and detection accuracy across a wider variety of distributed systems.

Summary updated

BibTeX
@inproceedings{gabel2013communication,
  author = {Moshe Gabel and Daniel Keren and Assaf Schuster},
  title = {{Communication-efficient Outlier Detection for Scale-out Systems}},
  booktitle = {BD3@VLDB},
  year = {2013},
}
Figure