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

利用图神经网络在微服务架构中进行有效的链路预测

Utilizing Graph Neural Networks for Effective Link Prediction in Microservice Architectures

Brock University(布罗克大学);McGill University(麦吉尔大学)

Ghazal Khodabandeh, Alireza Ezaz, Majid Babaei, Naser Ezzati-Jivan

AI总结:

本研究提出基于图注意力网络(GAT)的微服务调用图链路预测方法,结合时间分割与负采样技术,在真实数据上实现了高准确性的交互预测,为分布式系统的主动监控与资源优化提供了新途径。

摘要:

由于服务间交互的高频率和动态特性,在分布式系统中管理微服务架构既复杂又耗费资源。准确预测这些未来的交互可以增强自适应监控,从而实现主动维护,并在潜在的性能问题升级之前加以解决。本研究引入了一种基于图神经网络(GNN)的方法,具体使用图注意力网络(GAT),用于微服务 Call Graphs(调用图)中的链路预测。与交互往往零星发生且通常频率较低的社交网络不同,微服务 Call Graphs 涉及对运营性能至关重要的高频率和时间敏感的交互。我们的方法利用时间分割、高级负采样以及 GAT 的注意力机制来准确建模这些复杂的交互。使用真实世界数据,我们在 AUC、Precision、Recall 和 F1 Score 等性能指标上评估了我们的模型,证明了其在预测微服务交互方面的高准确性和鲁棒性。我们的研究结果支持了 GNN 在分布式系统中进行主动监控的潜力,为在自适应资源管理和性能优化中的应用铺平了道路。

英文摘要:

Managing microservice architectures in distributed systems is complex and resource intensive due to the high frequency and dynamic nature of inter service interactions. Accurate prediction of these future interactions can enhance adaptive monitoring, enabling proactive maintenance and resolution of potential performance issues before they escalate. This study introduces a Graph Neural Network GNN based approach, specifically using a Graph Attention Network GAT, for link prediction in microservice Call Graphs. Unlike social networks, where interactions tend to occur sporadically and are often less frequent, microservice Call Graphs involve highly frequent and time sensitive interactions that are essential to operational performance. Our approach leverages temporal segmentation, advanced negative sampling, and GATs attention mechanisms to model these complex interactions accurately. Using real world data, we evaluate our model across performance metrics such as AUC, Precision, Recall, and F1 Score, demonstrating its high accuracy and robustness in predicting microservice interactions. Our findings support the potential of GNNs for proactive monitoring in distributed systems, paving the way for applications in adaptive resource management and performance optimization.

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

↑