arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.13604cs.SEcs.AIcs.PF
收藏

云边协同环境下微服务系统的根因定位

Root Cause Localization for Microservice Systems in Cloud-edge Collaborative Environments

Wuhan University(武汉大学);Sun Yat-sen University(中山大学);Central China Normal University(华中师范大学)

Yuhan Zhu, Jian Wang, Bing Li, Xuxian Tang, Hao Li, Neng Zhang, Yuqi Zhao

AI总结:

针对云边协同环境下微服务系统根因定位难的问题,提出MicroCERCL方法,结合内核日志与异构动态拓扑栈的图神经网络模型,无需历史数据即可定位根因,性能优于现有方法。

摘要:

随着云原生技术的发展,基于微服务的软件系统在故障发生时面临准确定位根因的挑战。此外,云边协同环境带来了更多困难,例如网络不稳定、跨网段高延迟等。因此,在云边协同环境中准确识别微服务的根因已成为一个亟待解决的问题。\n本文提出了一种名为MicroCERCL的新方法,可在云边协同环境中从内核层和应用层定位根因。我们的核心洞察是,在具有不稳定和高延迟特征的云边协同环境中,故障会通过直接调用和间接资源竞争依赖关系传播;在同时涉及多个微服务系统的混合部署场景下,这种传播会变得更加复杂。基于这一洞察,我们从内核级日志中提取有效内容,优先定位内核级根因。此外,我们构建了异构动态拓扑栈,并训练了一个图神经网络模型,无需依赖历史数据即可准确定位应用级根因。值得注意的是,我们发布了首个云边协同环境下的混合部署微服务系统基准(据我们所知是规模最大、最复杂的)。在从该基准收集的数据集上开展的实验表明,MicroCERCL能够准确定位此类环境下微服务系统的根因,性能显著优于现有最优方法,其top-1准确率至少提升了24.1%。

英文摘要:

With the development of cloud-native technologies, microservice-based software systems face challenges in accurately localizing root causes when failures occur. Additionally, the cloud-edge collaborative environment introduces more difficulties, such as unstable networks and high latency across network segments. Accurately identifying the root cause of microservices in a cloud-edge collaborative environment has thus become an urgent problem. In this paper, we propose MicroCERCL, a novel approach that pinpoints root causes at the kernel and application level in the cloud-edge collaborative environment. Our key insight is that failures propagate through direct invocations and indirect resource-competition dependencies in a cloud-edge collaborative environment characterized by instability and high latency. This will become more complex in the hybrid deployment that simultaneously involves multiple microservice systems. Leveraging this insight, we extract valid contents from kernel-level logs to prioritize localizing the kernel-level root cause. Moreover, we construct a heterogeneous dynamic topology stack and train a graph neural network model to accurately localize the application-level root cause without relying on historical data. Notably, we released the first benchmark hybrid deployment microservice system in a cloud-edge collaborative environment (the largest and most complex within our knowledge). Experiments conducted on the dataset collected from the benchmark show that MicroCERCL can accurately localize the root cause of microservice systems in such environments, significantly outperforming state-of-the-art approaches with an increase of at least 24.1% in top-1 accuracy.

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

↑