本文已被:浏览 135次 下载 756次
Received:February 06, 2024 Revised:February 23, 2024
Received:February 06, 2024 Revised:February 23, 2024
中文摘要: 微服务架构作为一种敏捷而弹性的软件设计范式, 已经在当今的软件开发领域中取得了广泛的应用. 然而, 随着微服务数量的不断增加, 系统复杂度随之升高, 系统的服务质量随之下降, 如何提升微服务架构下的线上业务服务质量是一个重要命题, 而服务链路的优化是其中的关键挑战. 本文通过对微服务架构下服务链路的深入研究, 提出了链路抽样、链路拓扑生成、强弱依赖判定、循环调用识别、重复无效调用识别等链路分析方法, 并在此基础之上, 实践了一系列包括强弱演练、循环调用分拆、重复调用减支合并、故障自愈、链路溯源等在内的一系列有效的优化策略, 有效提升了微服务架构下的生产运行系统服务质量.
Abstract:Microservices architecture, as an agile and resilient software design paradigm, has been widely applied in the field of software development. However, with the increasing number of microservices, the complexity of the systems rises, and the service quality of the system decreases. Enhancing the quality of online business service under the microservices architecture is a critical challenge. Optimization of service links is a key aspect in addressing this challenge. This work conducts an in-depth study of service links under the microservices architecture and proposes various link analysis methods, including link sampling, link topology generation, strong and weak dependency determination, identification of cyclic calls, and recognition of redundant and ineffective calls. Building upon these methods, the study implements a series of effective optimization strategies, such as robust testing, disassembling cyclic calls, reducing and merging redundant calls, fault self-healing, and link tracing. These strategies effectively improve the service quality of production and operation system services under the microservices architecture.
文章编号: 中图分类号: 文献标志码:
基金项目:国家自然科学基金(U2033205)
引用文本:
佟业新,曲新奎,杨皓然,张军涛,周明涛.基于微服务分布式链路的服务质量优化策略.计算机系统应用,2024,33(9):140-152
TONG Ye-Xin,QU Xin-Kui,YANG Hao-Ran,ZHANG Jun-Tao,ZHOU Ming-Tao.Service Quality Optimization Strategy Based on Microservice Distributed Link.COMPUTER SYSTEMS APPLICATIONS,2024,33(9):140-152
佟业新,曲新奎,杨皓然,张军涛,周明涛.基于微服务分布式链路的服务质量优化策略.计算机系统应用,2024,33(9):140-152
TONG Ye-Xin,QU Xin-Kui,YANG Hao-Ran,ZHANG Jun-Tao,ZHOU Ming-Tao.Service Quality Optimization Strategy Based on Microservice Distributed Link.COMPUTER SYSTEMS APPLICATIONS,2024,33(9):140-152