Exploring the evolution of technical debt in monolithic and hybrid microservice architecture: An industrial case study
2026 (English)In: Journal of Systems and Software, ISSN 0164-1212, E-ISSN 1873-1228, Vol. 237, article id 112831Article in journal (Refereed) Published
Abstract [en]
Organizations often migrate monolithic architectures to microservices based on ad hoc data, expert opinions, or industry trends without assessing their specific context and needs. Such transitions tend to coincide with increased architectural complexity and technical debt (TD), making it crucial to understand how TD evolves over time in industrial settings to manage it effectively. This observational study explores the evolution of technical debt density (TDD) in a single software product consisting of both monolithic and microservice architectures at a Swedish fintech company, without aiming to establish causality between architectural styles and TDD trends. We further investigate TDD trends across various microservice size categories, team types, and the relationship between size and TDD. We analyzed SonarQube TD data collected from one monolith and 78 microservices from August 2022 to December 2024, and conducted semi-structured interviews with practitioners (a development manager, a product owner, and a lead developer) to validate and contextualize the quantitative findings. Our results show that, in this case, the monolithic system exhibits a decreasing TDD trend over time despite continued growth in size, while a gradual increase in TDD is observed across microservices. Furthermore, TDD trends appear inconsistent among small microservices, more consistently growing in medium-sized microservices, and comparatively stable in larger services. Differences in TDD trends are observed across services owned by platform teams and product teams. Overall, the findings from this specific case suggest that TDD evolves differently in monolith and microservices, highlighting the importance of continuous monitoring and context-aware interpretation of TDD trends in practice.
Place, publisher, year, edition, pages
Elsevier, 2026. Vol. 237, article id 112831
Keywords [en]
Case study, Microservices, Monolith, Software architecture, Technical debt, Architectural design, Case-studies, Expert opinion, Industrial case study, Industrial settings, Industry trends, Microservice, Monolithic architecture, Monolithics, Technical debts
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:bth-29433DOI: 10.1016/j.jss.2026.112831ISI: 001730374800001Scopus ID: 2-s2.0-105033743010OAI: oai:DiVA.org:bth-29433DiVA, id: diva2:2053646
Part of project
SERT- Software Engineering ReThought, Knowledge Foundation
Funder
Knowledge Foundation, 201800102026-04-172026-04-172026-04-17Bibliographically approved