基于图神经网络的微服务路由结构泛化
Structural Generalization for Microservice Routing Using Graph Neural Networks
AI总结:
本文提出基于图神经网络的微服务路由优化框架,通过图建模与边感知注意力机制提升路由决策效率,实验证明其在动态并发环境下性能优于现有策略。
摘要:
本文聚焦于微服务系统中的智能路由问题,提出了一种基于图神经网络的端到端优化框架。其目标是在复杂拓扑下提高路由决策效率和整体系统性能。该方法将微服务之间的调用关系建模为一张图。在该图中,服务节点和通信链路分别被视为图的节点和边。节点状态、链路延迟和调用频率等多维特征被用作输入。采用多层图神经网络进行高阶信息聚合和结构建模。模型为每个候选服务路径输出一个评分。这些评分随后用于指导动态路由决策。为了提高模型评估路径质量的能力,引入了边感知注意力机制。该机制帮助模型更准确地捕捉服务通信中的不稳定性和瓶颈风险。论文还系统分析了模型在不同网络深度、拓扑密度和服务规模下的性能表现。它从路由准确性、预测误差和系统稳定性等方面评估了该方法的有效性。实验结果表明,所提方法在多个关键指标上优于现有主流策略。它能有效处理高度动态和并发的微服务环境,并展现出强大的性能、鲁棒性和结构泛化能力。
英文摘要:
This paper focuses on intelligent routing in microservice systems and proposes an end-to-end optimization framework based on graph neural networks. The goal is to improve routing decision efficiency and overall system performance under complex topologies. The method models invocation relationships among microservices as a graph. In this graph, service nodes and communication links are treated as graph nodes and edges. Multi-dimensional features such as node states, link latency, and call frequency are used as input. A multi-layer graph neural network is employed to perform high-order information aggregation and structural modeling. The model outputs a score for each candidate service path. These scores are then used to guide dynamic routing decisions. To improve the model's ability to assess path quality, an edge-aware attention mechanism is introduced. This mechanism helps the model capture instability and bottleneck risks in service communications more accurately. The paper also conducts a systematic analysis of the model's performance under different network depths, topology densities, and service scales. It evaluates the effectiveness of the method in terms of routing accuracy, prediction error, and system stability. Experimental results show that the proposed method outperforms existing mainstream strategies across multiple key metrics. It handles highly dynamic and concurrent microservice environments effectively and demonstrates strong performance, robustness, and structural generalization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。