arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.18740cs.SE
收藏

TraceDiag:面向大规模微服务系统的自适应、可解释且高效的根因分析

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

AI总结:

TraceDiag 利用强化学习自动剪枝大规模微服务依赖图,在保留可解释性和自适应性的同时提升根因分析效率与准确性,并已在 Microsoft M365 Exchange 中实际部署验证。

摘要:

根因分析(RCA)对于确保微服务系统的可靠性正变得越来越关键。然而,在现代微服务系统上执行 RCA 可能具有挑战性,因为这类系统通常由数百个组件组成,规模庞大,从而导致大量人力投入。本文提出 TraceDiag,一个端到端的 RCA 框架,用于应对大规模微服务系统所面临的挑战。该框架利用强化学习来学习服务依赖图的剪枝策略,以自动消除冗余组件,从而显著提高 RCA 效率。学习到的剪枝策略具有可解释性,并且能够完全自适应新的 RCA 实例。在剪枝后的图上,可以高精度、高效率地执行基于因果分析的方法。所提出的 TraceDiag 框架在从 Microsoft Exchange 系统收集的真实数据轨迹上进行了评估,并展现出优于最先进 RCA 方法的性能。值得注意的是,TraceDiag 已作为关键组件集成到 Microsoft M365 Exchange 中,显著提升了系统可靠性,并大幅减少了 RCA 所需的人力投入。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑