Evolution of code technical debt in microservices architectures

被引:1
作者
Maggi, Kevin [1 ]
Verdecchia, Roberto [1 ]
Scommegna, Leonardo [1 ]
Vicario, Enrico [1 ]
机构
[1] Univ Florence, Dept Informat Engn, Via S Marta 3, I-50139 Florence, Italy
关键词
Microservice; Technical debt; Software evolution; TIME-SERIES; MANAGEMENT; SMELLS;
D O I
10.1016/j.jss.2024.112301
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Context: Microservices are gaining significant traction in academic research and industry due to their advantages, and technical debt has long been a heavily researched metric in software quality context. However, to date, no study has attempted to understand how code technical debt evolves in such architectures. Aim: This research aims to understand how technical debt evolves over time in microservice architectures by investigating its trends, patterns, and potential relations with microservices number. Method: We analyze the technical debt evolution of 13 open-source projects. We collect data from systems through automated source code analysis, statistically analyze results to identify technical debt trends and correlations with microservices number, and conduct a subsequent manual commit inspection. Results: Technical debt increases over time, with periods of stability. The growth is related to microservices number, but its rate is not. The analysis revealed trend differences during initial development phases and later stages. Different activities can introduce technical debt, while its removal relies mainly on refactoring. Conclusions: Microservices independence is fundamental to maintain the technical debt under control, keeping it compartmentalized. The findings underscore the importance of technical debt management strategies to support the long-term success of microservices.
引用
收藏
页数:19
相关论文
共 77 条
[71]   Building and evaluating a theory of architectural technical debt in software-intensive systems [J].
Verdecchia, Roberto ;
Kruchten, Philippe ;
Lago, Patricia ;
Malavolta, Ivano .
JOURNAL OF SYSTEMS AND SOFTWARE, 2021, 176
[72]   Architectural Technical Debt Identification: the Research Landscape [J].
Verdecchia, Roberto ;
Malavolta, Ivano ;
Lago, Patricia .
2018 IEEE/ACM INTERNATIONAL CONFERENCE ON TECHNICAL DEBT (TECHDEBT), 2018, :11-20
[73]   A Systematic Mapping Study on Technical Debt in Microservices [J].
Villa, Arturo ;
Octavio Ocharan-Hernandez, Jorge ;
Carlos Perez-Arriaga, Juan ;
Limon, Xavier .
2022 10TH INTERNATIONAL CONFERENCE IN SOFTWARE ENGINEERING RESEARCH AND INNOVATION, CONISOFT, 2022, :182-191
[74]   Promises and challenges of microservices: an exploratory study [J].
Wang, Yingying ;
Kadiyala, Harshavardhan ;
Rubin, Julia .
EMPIRICAL SOFTWARE ENGINEERING, 2021, 26 (04)
[75]   Testing Microservices Architecture-Based Applications: A Systematic Mapping Study [J].
Waseem, Muhammad ;
Liang, Peng ;
Marquez, Gaston ;
Di Salle, Amleto .
2020 27TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2020), 2020, :119-128
[76]   Recommending when Design Technical Debt Should be Self-Admitted [J].
Zampetti, Fiorella ;
Noiseux, Cedric ;
Antoniol, Giuliano ;
Khomh, Foutse ;
Di Penta, Massimiliano .
2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2017, :216-226
[77]   Impacts, causes, and solutions of architectural smells in microservices: An industrial investigation [J].
Zhong, Chenxing ;
Huang, Huang ;
Zhang, He ;
Li, Shanshan .
SOFTWARE-PRACTICE & EXPERIENCE, 2022, 52 (12) :2574-2597