Impacts, causes, and solutions of architectural smells in microservices: An industrial investigation

被引:12
作者
Zhong, Chenxing [1 ,2 ]
Huang, Huang [3 ]
Zhang, He [1 ,2 ]
Li, Shanshan [1 ,2 ]
机构
[1] Nanjing Univ, Software Inst, Asia, Peoples R China
[2] Nanjing Univ, State Key Lab Novel Software Technol, Asia, Peoples R China
[3] State Grid Nanjing Power Supply Co, Asia, Peoples R China
基金
中国国家自然科学基金;
关键词
architectural smell; microservice; empirical study; case study; ROOT CAUSE ANALYSIS; SOFTWARE;
D O I
10.1002/spe.3138
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
As a recently predominant architecture style, MicroService Architecture (MSA) is likely to suffer the issues of poor maintainability due to inappropriate microservice boundaries. Architectural Smell (AS), as a metaphor for potential architectural issues that may have negative impacts on software maintenance, can be used to pinpoint refactoring opportunity for evolving microservice boundary. However, existing studies mostly focus on AS detection with little further investigation on the possible impacts, causes, and solutions of AS, which does little help in addressing the bad smells in architecture. Our goal in this study is to bridge this gap by investigating the possible impacts, causes, and solutions of AS in MSA-based systems. An industrial case study is carried out to collect repository data and practitioners' views on six typical ASes in a real MSA-based telecommunication system. Statistical Analysis and Coding techniques are used in the analyses of quantitative and qualitative data respectively. The results show that AS influences the modularity, modifiability, analyzability, and testability of the MSA-based system, which further induce extra cross-team communication, change- and fault-prone microservices. To explore the causes for AS, a five-aspect conceptual classification with technology, project, organization, business, and professional is proposed, in which the business and organization aspects take the major roles. Both technical and non-technical solutions are distilled to deal with ASes despite potential constraints. These results and their comparison to current literature are discussed, which provide practical implications in coping with AS in microservices.
引用
收藏
页码:2574 / 2597
页数:24
相关论文
共 73 条
[1]  
AlOmar EA, 2019, INT SYMP EMP SOFTWAR, P42
[2]   A Multi-Criteria Strategy for Redesigning Legacy Features as Microservices: An Industrial Case Study [J].
Assuncao, Wesley K. G. ;
Colanzi, Thelma Elita ;
Carvalho, Luiz ;
Pereira, Juliana Alves ;
Garcia, Alessandro ;
de Lima, Maria Julia ;
Lucena, Carlos .
2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2021), 2021, :377-387
[3]   Architectural Smells Detected by Tools: a Catalogue Proposal [J].
Azadi, Umberto ;
Fontana, Francesca Arcelli ;
Taibi, Davide .
2019 IEEE/ACM INTERNATIONAL CONFERENCE ON TECHNICAL DEBT (TECHDEBT 2019), 2019, :88-97
[4]  
Bass Len., 2003, Software Architecture in Practice
[5]   A CASE-STUDY OF SOFTWARE PROCESS IMPROVEMENT DURING DEVELOPMENT [J].
BHANDARI, I ;
HALLIDAY, M ;
TARVER, E ;
BROWN, D ;
CHAAR, J ;
CHILLAREGE, R .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1993, 19 (12) :1157-1170
[6]   Improving the effectiveness of root cause analysis in post mortem analysis: A controlled experiment [J].
Bjornson, Finn Olav ;
Wang, Alf Inge ;
Arisholm, Erik .
INFORMATION AND SOFTWARE TECHNOLOGY, 2009, 51 (01) :150-161
[7]   Industry practices and challenges for the evolvability assurance of microservices An interview study and systematic grey literature review [J].
Bogner, Justus ;
Fritzsch, Jonas ;
Wagner, Stefan ;
Zimmermann, Alfred .
EMPIRICAL SOFTWARE ENGINEERING, 2021, 26 (05)
[8]  
Brocke J., 2014, Handbook on Business Process Management
[9]   Software Development Data for Architecture Analysis: Expectations, Reality, and Future Directions [J].
Cai, Yuanfang ;
Kazman, Rick .
2020 IEEE/ACM 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE (ICSE-SEIP), 2020, :231-232
[10]   FOCUS GROUPS AND NATURE OF QUALITATIVE MARKETING-RESEARCH [J].
CALDER, BJ .
JOURNAL OF MARKETING RESEARCH, 1977, 14 (03) :353-364