Analyzing the Evolution of Structural Communities within Microservice Architecture

📅 2026-06-02
📈 Citations: 0
Influential: 0
📄 PDF

career value

283K/year
🤖 AI Summary
This study addresses structural degradation in microservice architectures—such as erroneous decomposition and node services—caused by improper responsibility allocation or unoptimized communication. To this end, it models microservice dependencies as a temporal network and proposes a fine-grained community detection method incorporating membership strength metrics. This approach dynamically analyzes the evolution of service communities across multiple system versions and assesses their alignment with business processes. Evaluated on six versions of the Train-Ticket benchmark system, the method reveals a stable two-community structure that accurately corresponds to the two core business workflows. It also effectively identifies degradation indicators, including cross-community services and internal bidirectional couplings, thereby providing quantitative evidence for architectural stability assessment and targeted refactoring.
📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

microservice architecture
architectural degradation
community detection
temporal evolution
anti-patterns
Innovation

Methods, ideas, or system contributions that make the work stand out.

temporal community detection
microservice architecture
architectural degradation
membership strength
service dependency network