Trace-based Multi-Dimensional Root Cause Localization of Performance Issues in Microservice Systems
Open Access
- 12 April 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-12
Abstract
Modern microservice systems have become increasingly complicated due to the dynamic and complex interactions and runtime environment. It leads to the system vulnerable to performance issues caused by a variety of reasons, such as the runtime environments, communications, coordinations, or implementations of services. Traces record the detailed execution process of a request through the system and have been widely used in performance issues diagnosis in microservice systems. By identifying the execution processes and attribute value combinations that are common in anomalous traces but rare in normal traces, engineers may localize the root cause of a performance issue into a smaller scope. However, due to the complex structure of traces and the large number of attribute combinations, it is challenging to find the root cause from the huge search space. In this paper, we propose TraceContrast, a trace-based multi-dimensional root cause localization approach. TraceContrast uses a sequence representation to describe the complex structure of a trace with attributes of each span. Based on the representation, it combines contrast sequential pattern mining and spectrum analysis to localize multi-dimensional root causes efficiently. Experimental studies on a widely used microservice benchmark show that TraceContrast outperforms existing approaches in both multi-dimensional and instance-dimensional root cause localization with significant accuracy advantages. Moreover, Trace-Contrast is efficient and its efficiency can be further improved by parallel execution.Keywords
This publication has 38 references indexed in Scilit:
- Distributed Latency Profiling through Critical Path TracingQueue, 2022
- CRISPR2022
- TraceRank: Abnormal service localization with dis‐aggregated end‐to‐end tracing data in cloud native systemsJournal of Software: Evolution and Process, 2021
- Enjoy your observability: an industrial survey of microservice tracing and analysisEmpirical Software Engineering, 2021
- MicroHECL: High-Efficient Root Cause Localization in Large-Scale Microservice Systems2021
- Fault Analysis and Debugging of Microservice Systems: Industrial Survey, Benchmark System, and Empirical StudyIEEE Transactions on Software Engineering, 2018
- A Survey on Software Fault LocalizationIEEE Transactions on Software Engineering, 2016
- An effective contrast sequential pattern mining approach to taxpayer behavior analysisWorld Wide Web, 2015
- Mining Minimal Distinguishing Subsequence Patterns with Gap Constraints2006
- Critical path analysis for the execution of parallel and distributed programs2003