kirancodes.me
To Proof Maintenance & Beyond!

TraceDiag: Adaptive, Interpretable, and Efficient Root Cause Analysis on Large-Scale Microservice Systems

Ruomeng Ding, Chaoyun Zhang, Lu Wang, Yong Xu, Minghua Ma, Xiaomin Wu, Meng Zhang, Qingjun Chen, Xin Gao, Xuedong Gao, Hao Fan, Saravan Rajmohan, Qingwei Lin, Dongmei Zhang

Abstract

Root Cause Analysis (RCA) is becoming increasingly crucial for ensuring the reliability of microservice systems. However, performing RCA on modern microservice systems can be challenging due to their large scale, as they usually comprise hundreds of components, leading significant human effort. This paper proposes TraceDiag, an end-to-end RCA framework that addresses the challenges for large-scale microservice systems. It leverages reinforcement learning to learn a pruning policy for the service dependency graph to automatically eliminates redundant components, thereby significantly improving the RCA efficiency. The learned pruning policy is interpretable and fully adaptive to new RCA instances. With the pruned graph, a causal-based method can be executed with high accuracy and efficiency. The proposed TraceDiag framework is evaluated on real data traces collected from the Microsoft Exchange system, and demonstrates superior performance compared to state-of-the-art RCA approaches. Notably, TraceDiag has been integrated as a critical component in the Microsoft M365 Exchange, resulting in a significant improvement in the system's reliability and a considerable reduction in the human effort required for RCA.

BibTeX
@inproceedings{Ding-al:FSE23,
  author    = {Ruomeng Ding and
               Chaoyun Zhang and
               Lu Wang and
               Yong Xu and
               Minghua Ma and
               Xiaomin Wu and
               Meng Zhang and
               Qingjun Chen and
               Xin Gao and
               Xuedong Gao and
               Hao Fan and
               Saravan Rajmohan and
               Qingwei Lin and
               Dongmei Zhang},
  title     = {{TraceDiag:} Adaptive, Interpretable, and Efficient Root Cause Analysis on {Large-Scale} Microservice Systems},
  booktitle = {{ESEC/SIGSOFT} {FSE}},
  pages     = {1762--1773},
  publisher = {{ACM}},
  year      = {2023},
}

Related papers