Skip to main content
QUICK REVIEW

[Paper Review] MicroHECL: High-Efficient Root Cause Localization in Large-Scale Microservice Systems

Dewei Liu, Chuan He|arXiv (Cornell University)|Mar 1, 2021
Software System Performance and ReliabilityComputer Science17 references11 citations
TL;DR

MicroHECL is a high-efficiency root cause localization system for large-scale microservice systems that dynamically constructs a service call graph, uses customized machine learning and statistical models to detect performance, reliability, and traffic anomalies, and applies a pruning strategy to accelerate propagation chain analysis. It achieves a top-3 hit ratio of 68% and reduces root cause localization time from 30 minutes to 5 minutes in production at Alibaba.

ABSTRACT

Availability issues of industrial microservice systems (e.g., drop of successfully placed orders and processed transactions) directly affect the running of the business. These issues are usually caused by various types of service anomalies which propagate along service dependencies. Accurate and high-efficient root cause localization is thus a critical challenge for large-scale industrial microservice systems. Existing approaches use service dependency graph based analysis techniques to automatically locate root causes. However, these approaches are limited due to their inaccurate detection of service anomalies and inefficient traversing of service dependency graph. In this paper, we propose a high-efficient root cause localization approach for availability issues of microservice systems, called MicroHECL. Based on a dynamically constructed service call graph, MicroHECL analyzes possible anomaly propagation chains, and ranks candidate root causes based on correlation analysis. We combine machine learning and statistical methods and design customized models for the detection of different types of service anomalies (i.e., performance, reliability, traffic). To improve the efficiency, we adopt a pruning strategy to eliminate irrelevant service calls in anomaly propagation chain analysis. Experimental studies show that MicroHECL significantly outperforms two state-of-the-art baseline approaches in terms of both accuracy and efficiency. MicroHECL has been used in Alibaba and achieves a top-3 hit ratio of 68% with root cause localization time reduced from 30 minutes to 5 minutes.

Motivation & Objective

  • To address the challenge of slow and inaccurate root cause localization in large-scale industrial microservice systems experiencing availability issues.
  • To improve the efficiency of anomaly propagation chain analysis in complex service dependency graphs.
  • To enhance anomaly detection accuracy by modeling distinct types of service anomalies—performance, reliability, and traffic—separately.
  • To reduce false positives and unnecessary computation in root cause ranking through a pruning strategy targeting irrelevant service calls.
  • To provide a scalable, deployable solution for real-time root cause localization in production environments like Alibaba’s e-commerce platform.

Proposed method

  • Dynamically constructs a service call graph reflecting real-time service dependencies and quality metrics (e.g., response time) within a recent time window.
  • Employs three customized models—based on machine learning and statistical methods—specifically for detecting performance, reliability, and traffic anomalies.
  • Traverses the service call graph from the initial anomalous service to identify possible anomaly propagation chains along anomalous service calls.
  • Applies a pruning strategy to eliminate service call edges that are statistically irrelevant to the current anomaly propagation path, improving computational efficiency.
  • Ranks candidate root causes using correlation analysis between the quality metrics of candidate services and the business-level metrics of the initial anomalous service.
  • Combines historical and real-time metrics with causal relationships to infer root causes without requiring full trace collection.

Experimental results

Research questions

  • RQ1How can root cause localization be made more efficient in large-scale microservice systems with thousands of services?
  • RQ2What is the impact of distinguishing between different anomaly types (performance, reliability, traffic) on detection accuracy?
  • RQ3Can a pruning strategy based on statistical correlation significantly reduce the search space without sacrificing accuracy?
  • RQ4How does the integration of machine learning and statistical models improve anomaly detection compared to correlation-only methods?
  • RQ5To what extent can a graph-based propagation analysis with dynamic service call graphs outperform existing state-of-the-art approaches in real-world production systems?

Key findings

  • MicroHECL reduces root cause localization time from an average of 30 minutes to 5 minutes in Alibaba’s production environment.
  • It achieves a top-3 hit ratio of 68%, significantly outperforming the state-of-the-art baselines MonitorRank and Microscope.
  • The pruning strategy improves efficiency without degrading accuracy, enabling faster analysis in large, complex dependency graphs.
  • The customized anomaly detection models for performance, reliability, and traffic anomalies lead to more accurate identification of root causes than generic correlation-based methods.
  • The system has been successfully deployed in Alibaba for over 5 months and has handled more than 600 availability incidents with high developer trust in its recommendations.
  • Experimental evaluation confirms that MicroHECL outperforms MonitorRank and Microscope in both accuracy and efficiency across multiple metrics.

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.