Revisiting the practices and pains of microservice architecture in reality: An industrial inquiry

被引:18
作者
Zhou, Xin [1 ]
Li, Shanshan [1 ]
Cao, Lingli [1 ]
Zhang, He [1 ]
Jia, Zijia [2 ]
Zhong, Chenxing [1 ]
Shan, Zhihao [3 ]
Babar, Muhammad Ali [4 ]
机构
[1] Nanjing Univ, Software Inst, State Key Lab Novel Software Technol, Nanjing, Jiangsu, Peoples R China
[2] ByteDance Inc, Hangzhou, Peoples R China
[3] Tencent Technol Co Ltd, Shenzhen, Peoples R China
[4] Univ Adelaide, Sch Comp Sci, Adelaide, Australia
基金
中国国家自然科学基金;
关键词
Microservices; Empirical study; Interview; Software architecture;
D O I
10.1016/j.jss.2022.111521
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Background: Seeking an appropriate architecture for the design of software is always a challenge. Although microservices are claimed to be a lightweight architecture style that can improve current practices with several characteristics, many practices are based on different circumstances and reflect variant effects. Empirical inquiry gives us a systematic insight into industrial practices and sufferings on microservices. Objective: This study is to investigate the gaps between ideal visions and real industrial practices in microservices and what expenses microservices bring to industrial practitioners. Method: We carried out a series of industrial interviews with practitioners from 20 software companies. The collected data were then codified using qualitative methods. Results: Eight pairs of common practices and pains of microservices in industry were obtained after synthesizing the rich and detailed data collected. Five aspects that require careful decisions were extracted to help practitioners balance the possible benefits and pains of MSA. Five research directions that need further exploration were identified based on the pains associated with MSA. Conclusion: While the benefits of microservices are confirmed from the point of view of practitioners, decisions should be carefully made and the possible problems identified must be addressed with additional expense from experience. Furthermore, some of the topics and pains outlined, e.g., systematic evaluation and assessment, organizational transformation, decomposition, distributed monitoring, and bug localization, may inspire researchers to conduct further research. (C) 2022 Elsevier Inc. All rights reserved.
引用
收藏
页数:20
相关论文
共 75 条
[11]   A Systematic Literature Review on Migration to Microservices: a Quality Attributes perspective [J].
Capuano, Roberta ;
Muccini, Henry .
2022 IEEE 19TH INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE COMPANION (ICSA-C 2022), 2022, :120-123
[12]  
Carrasco A, 2018, PROCEEDINGS OF THE 2ND INTERNATIONAL WORKSHOP ON REFACTORING, IWOR 2018, P1, DOI 10.1145/3242163.3242164
[13]  
Carvalho Luiz, 2019, 2019 IEEE/ACM Joint 7th International Workshop on Conducting Empirical Studies in Industry (CESI) and 6th International Workshop on Software Engineering Research and Industrial Practice (SER&IP). Proceedings, P22, DOI 10.1109/CESSER-IP.2019.00012
[14]   Extraction of Configurable and Reusable Microservices from Legacy Systems: An Exploratory Study [J].
Carvalho, Luiz ;
Garcia, Alessandro ;
Assuncao, Wesley K. G. ;
Bonifacio, Rodrigo ;
Tizzei, Leonardo P. ;
Colanzi, Thelma Elita .
SPLC'19: PROCEEDINGS OF THE 23RD INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, VOL A, 2020, :26-31
[15]   Microservices: Architecting for Continuous Delivery and DevOps [J].
Chen, Lianping .
2018 IEEE 15TH INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE (ICSA), 2018, :39-46
[16]   From Monolith to Microservices: A Dataflow-Driven Approach [J].
Chen, Rui ;
Li, Shanshan ;
Li, Zheng .
2017 24TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2017), 2017, :466-475
[17]  
Colanzi Thelma, 2021, SBCARS '21: 15th Brazilian Symposium on Software Components, Architectures, and Reuse, P61, DOI 10.1145/3483899.3483904
[18]  
CONWAY ME, 1968, DATAMATION, V14, P28
[19]  
Cui hai-tao, 2021, Journal of Software, P1256, DOI 10.13328/j.cnki.jos.006232
[20]   Function-Splitting Heuristics for Discovery of Microservices in Enterprise Systems [J].
De Alwis, Adambarage Anuruddha Chathuranga ;
Barros, Alistair ;
Polyvyanyy, Artem ;
Fidge, Colin .
SERVICE-ORIENTED COMPUTING (ICSOC 2018), 2018, 11236 :37-53