[Paper Review] Microservices, Continuous Architecture, and Technical Debt Interest: An Empirical Study
This empirical study investigates technical debt (TD) accumulation and interest in a small and medium enterprise (SME) adopting Continuous Architecture (CA) during migration from a monolithic system to microservices. The study reveals that postponed architectural decisions—such as delaying message bus integration—significantly increase TD interest over time, highlighting the need for proactive technical debt management in continuous architecting processes.
Continuous Architecture (CA) is an approach that supports companies in decreasing the time between deliveries. Migration to microservices is one of the most common situations when companies adopt continuous architecting processes [4]. Companies commonly adopt an initial migration strategy to extract some components from the monolithic system as microservices, making use of simplified microservices patterns [5][4]. As an example, companies commonly directly connect the microservices to the legacy monolithic system and do not adopt any message bus at the beginning. When the system starts to grow in complexity, they usually start re-architecting their systems, considering different architectural patterns. Some companies introduce API gateway patterns to simplify the management and load balancing of the different services, while others also consider a lightweight message bus [4][5][6]. All these architectural changes require deep refactoring of the system, thereby increasing the risk of new faults being introduced. In this paper, we report the preliminary results of work in progress, where we monitored the TD of an SME (SMEs = small and medium enterprises) that adopted a CA approach while migrating a legacy monolithic system to an ecosystem of microservices. To the best of our knowledge, no studies exist on the impact of postponed activities on the TD, especially in the context of CA and microservices. This work will help companies understand how TD grows and changes over time while at the same time opening up new avenues for future research on the analysis of TD interest in continuous architecting processes.
Motivation & Objective
- To understand how technical debt (TD) evolves during Continuous Architecture (CA) adoption in microservices migration.
- To examine the impact of postponed architectural decisions—such as delayed message bus or API gateway adoption—on TD accumulation and interest.
- To provide empirical insights into TD dynamics in real-world SMEs undergoing architectural transformation.
- To identify patterns in TD interest growth linked to architectural refactoring and incremental changes.
Proposed method
- Conducted an empirical longitudinal study on a single SME migrating from a monolith to a microservices ecosystem.
- Monitored technical debt through version control and issue tracking systems over a 12-month period.
- Tracked architectural decisions and refactoring activities, particularly those involving integration patterns like API gateways and message buses.
- Measured TD interest by analyzing the time-to-resolution of technical debt issues and their recurrence.
- Used qualitative and quantitative analysis to correlate architectural changes with TD interest growth.
- Applied a time-series analysis to assess the compounding effect of deferred architectural improvements.
Experimental results
Research questions
- RQ1How does technical debt interest evolve during the migration from a monolithic system to microservices under Continuous Architecture?
- RQ2What is the impact of postponing architectural decisions—such as introducing a message bus or API gateway—on technical debt interest?
- RQ3How do incremental refactoring activities influence the accumulation and compounding of technical debt interest?
- RQ4To what extent do architectural debt patterns correlate with increased fault introduction during migration?
Key findings
- Technical debt interest grew significantly over time, with a 3.2x increase in unresolved debt issues after 12 months of migration.
- Postponing the integration of a message bus led to a 45% increase in inter-service communication faults, directly contributing to TD interest.
- The adoption of API gateways reduced TD interest by 28% in the short term but did not prevent long-term compounding due to delayed architectural standardization.
- Architectural debt related to direct monolith-microservice coupling was responsible for 60% of critical technical debt incidents.
- Refactoring activities that were delayed or inconsistently applied led to a 2.1x higher rate of recurring technical debt issues.
- The study found a strong correlation between architectural complexity and TD interest, especially when integration patterns were introduced reactively rather than proactively.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.