paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Trace-based Multi-Dimensional Root Cause Localization of Performance Issues in Microservice Systems

基于 Trace 的微服务系统性能问题多维度根因定位
ICSE Proceedings of the IEEE/ACM 46th International Conference on Software Engineering2024匹配度 1/10 · 该论文属于微服务性能问题根因定位与 trace 挖掘,关注运行时诊断和对比序列模式/频谱分析,与用户研究画像中的 PL→AI、AI→PL、浮点程序分析、贝叶斯程序分析及 LLM/Agent 交叉方向基本无关。引用 18 inbox
Chenxi Zhang, Zhen Dong, Xin Peng, Bicheng Zhang, Miao Chen
crossref: 2026-09-12

AI 速览

一句话:提出 TraceContrast,结合对比序列模式挖掘与频谱分析,从 trace 中高效定位微服务性能问题的多维根因。

现代微服务系统因动态复杂的交互和运行时环境而日益复杂,容易由运行时环境、通信、协调或服务实现等多种原因引发性能问题。Trace 记录了请求在系统中的详细执行过程,已被广泛用于性能问题诊断。通过识别异常 trace 中常见而正常 trace 中罕见的执行过程与属性值组合,工程师可将根因定位到更小范围,但 trace 结构复杂且属性组合数量庞大,导致搜索空间巨大。本文提出 TraceContrast,一种基于 trace 的多维度根因定位方法。它用序列表示描述 trace 的复杂结构及每个 span 的属性,并在此基础上结合对比序列模式挖掘与频谱分析,高效定位多维根因。在广泛使用的微服务基准上的实验表明,TraceContrast 在多维和实例维度根因定位上均显著优于现有方法,且效率高,并行执行可进一步提升效率。

问题
微服务系统中性能问题根因来源多样,从海量 trace 的执行过程和属性组合中定位根因面临巨大搜索空间。
方法
提出 TraceContrast,用序列表示刻画 trace 结构与 span 属性,并融合对比序列模式挖掘和频谱分析进行多维度根因定位。
评估
在广泛使用的微服务基准上开展实验,对比现有方法在多维与实例维度根因定位上的准确率,并评估效率及并行执行效果。
原文摘要(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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot11250,
  title = {Trace-based Multi-Dimensional Root Cause Localization of Performance Issues in Microservice Systems},
  author = {Chenxi Zhang and Zhen Dong and Xin Peng and Bicheng Zhang and Miao Chen},
  booktitle = {ICSE},
  year = {2024},
  doi = {10.1145/3597503.3639088}
}