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

分析微服务架构中结构社区的演化

Analyzing the Evolution of Structural Communities within Microservice Architecture

University of Oulu(奥卢大学);University of Southern Denmark(南丹麦大学)

Alexander Bakhtin, Matteo Esposito, Valentina Lenarduzzi, Davide Taibi

AI总结:

本研究通过时间社区检测方法分析微服务架构中社区的演化,发现稳定的双社区结构及其与业务流程的对应关系,并利用成员强度指标进行细粒度评估。

摘要:

近年来,微服务架构中反模式的检测受到关注,特别是识别微服务架构退化的情况。在此类任务中,微服务架构常被建模为微服务依赖网络。最近的研究通过考虑项目的连续发布版本来评估此类架构网络的演化。与服务网络结构相关的特定反模式包括错误切割和结服务。社区检测是一种识别网络中相互依赖的服务组的方法。如果这些组无法映射到系统中的业务流程,或者同一服务属于多个社区,则可能表明由于责任划分不当或通信未优化而导致的架构退化。时间社区检测方法已被提出用于分析随时间演化的社区结构。我们对train-ticket基准的六个版本的微服务架构进行了时间社区检测,并分析了所发现社区的组成及其随时间的变化。我们观察到稳定的架构,服务清晰分为两个社区,我们可以将其识别为系统执行的两个业务流程。我们发现一些服务属于多个社区,以及同一社区内同时具有传入和传出连接的服务。所利用算法提供的成员强度指标能够对微服务社区进行细粒度评估。

英文摘要:

In recent years, the detection of anti-patterns in microservice architecture has gained traction, particularly to identify instances of Microservice Architectural Degradation. In such tasks, the microservice architecture is often modeled as a network of microservice dependencies. Recent works have explored how to assess the evolution of such architectural networks by considering the architecture of consecutive releases of the project. Particular anti-patterns related to the structure of the service network include Wrong cuts and Knot services. Community detection is a way to identify groups of services in a network that strongly depend on each other. If such groups cannot be mapped to business processes in the system, or if the same service belongs to multiple communities, this could indicate architectural degradation due to an inappropriate division of responsibilities or unoptimized communication. Temporal community detection methods have been proposed to analyze community structure that evolves in time. We performed temporal community detection within the microservice architecture of six releases of the train-ticket benchmark and analyzed the composition of the discovered communities and their activities over time. We observed a stable architecture with a clear separation of services into two communities, which we could identify with two business processes performed by the system. We found services belonging to several communities, as well as services within the same community with both incoming and outgoing connections. The membership strength metric provided by the leveraged algorithm enables fine-grained assessment of the microservice communities.

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

↑