arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.07894cs.NIcs.LG
收藏

基于动态时空数据的微服务系统状态预测

System States Forecasting of Microservices with Dynamic Spatio-Temporal Data

Institute of Information Engineering, CAS(中国科学院信息工程研究所);University of Chinese Academy of Sciences(中国科学院大学);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)

Yifei Xu, Jingguo Ge, Haina Tang, Shuai Ding, Tong Li, Hui Li

AI总结:

针对微服务系统状态预测中时空关系复杂的问题,提出融合动态拓扑与PatchCrossAttention的STMformer模型,在长短时预测任务中均显著降低误差。

摘要:

在AIOps(智能运维,即Artificial Intelligence for IT Operations)时代,准确预测系统状态至关重要。在微服务系统中,该任务面临微服务实例间动态且复杂的时空关系挑战,这主要源于动态部署、多样化调用路径以及实例间的级联效应。当前的时间序列预测方法主要聚焦于内在模式,在空间关系至关重要的环境中存在不足。同样,时空图方法往往忽略时间趋势的本质,大多集中于节点间的消息传递。此外,当前微服务领域的研究常常低估了网络指标和拓扑结构在捕捉系统演化动态方面的重要性。本文提出STMformer,这是一款专为微服务环境下的系统状态预测定制的模型,能够处理多节点多变量时间序列。我们的方法利用动态网络连接数据和拓扑信息,辅助建模系统内复杂的时空关系。此外,我们整合了PatchCrossAttention模块,用于在全局范围内计算级联效应的影响。我们基于一个微服务系统构建了数据集,并将STMformer与主流方法进行了全面实验对比。在短期和长期预测任务中,我们的模型均实现了MAE(平均绝对误差)降低8.6%、MSE(均方误差)降低2.2%的效果。源代码可在https://github.com/xuyifeiiie/STMformer获取。

英文摘要:

In the AIOps (Artificial Intelligence for IT Operations) era, accurately forecasting system states is crucial. In microservices systems, this task encounters the challenge of dynamic and complex spatio-temporal relationships among microservice instances, primarily due to dynamic deployments, diverse call paths, and cascading effects among instances. Current time-series forecasting methods, which focus mainly on intrinsic patterns, are insufficient in environments where spatial relationships are critical. Similarly, spatio-temporal graph approaches often neglect the nature of temporal trend, concentrating mostly on message passing between nodes. Moreover, current research in microservices domain frequently underestimates the importance of network metrics and topological structures in capturing the evolving dynamics of systems. This paper introduces STMformer, a model tailored for forecasting system states in microservices environments, capable of handling multi-node and multivariate time series. Our method leverages dynamic network connection data and topological information to assist in modeling the intricate spatio-temporal relationships within the system. Additionally, we integrate the PatchCrossAttention module to compute the impact of cascading effects globally. We have developed a dataset based on a microservices system and conducted comprehensive experiments with STMformer against leading methods. In both short-term and long-term forecasting tasks, our model consistently achieved a 8.6% reduction in MAE(Mean Absolute Error) and a 2.2% reduction in MSE (Mean Squared Error). The source code is available at https://github.com/xuyifeiiie/STMformer.

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

↑