Towards Change Impact Analysis in Microservices-based System Evolution
Tomas Cerny, Gabriel Goulis, Amr S. Abdelfattah
TL;DR
The paper tackles the problem of unintended consequences during microservice evolution by introducing Incremental Software Architecture Reconstruction (ISAR), which maintains a System Intermediate Representation (IR) and deltas to enable change impact analysis across decentralized services. It outlines a three-stage ISAR workflow (baseline IR, delta extraction, increment) and demonstrates feasibility via a PoC tool built on Prophet SAR, evaluated on eight Java Spring benchmarks with anomaly injection and historical analysis. The approach enables direct and indirect impact assessment, supports rule-based conflict detection, and yields actionable insights at the component level that can be integrated into development pipelines. The work highlights practical implications for reducing ripple effects, improving maintainability, and guiding decentralized teams, while acknowledging limitations of static analysis and the need for broader validation and visualization enhancements.
Abstract
Cloud-native systems are the mainstream for enterprise solutions, given their scalability, resilience, and other benefits. While the benefits of cloud-native systems fueled by microservices are known, less guidance exists on their evolution. One could assume that since microservices encapsulate their code, code changes remain encapsulated as well; however, the community is becoming more aware of the possible consequences of code change propagation across microservices. Moreover, an active mitigation instrument for negative consequences of change propagation across microservices (i.e., ripple effect) is yet missing, but the microservice community would greatly benefit from it. This paper introduces what it could look like to have an infrastructure to assist with change impact analysis across the entire microservice system and intends to facilitate advancements in laying out the foundations and building guidelines on microservice system evolution. It shares a new direction for incremental software architecture reconstruction that could serve as the infrastructure concept and demonstrates early results from prototyping to illustrate the potential impact.
