Affiliation:
1. M3S, Faculty of Information Technology and Electrical Engineering, University of Oulu, Pentti Kaiteran Katu 1, 90570 Oulu, Finland
Abstract
Recently, the phenomenon of switching back from microservice to monolith has increased in frequency, leading to intense debate in the industry. In this paper, we conduct a multivocal literature review to investigate reasoning and key aspects to pay attention to when switching back and analyze other practitioners’ opinions. The results show four cases of switching back from microservice to monolith: Istio control plane, Amazon Prime Video monitoring service, Segment, and InVision. The five main reasons that led to switching back are cost, complexity, scalability, performance, and organization. During the switching back process, six key aspects need to be addressed: (1) stopping the development of more services, (2) consolidating and testing paths, (3) unifying data storage, (4) implementing the message bus principle, (5) giving up diverse techniques, and (6) learning to use modular design principles. As to the practitioners’ opinions, they had mixed views about the switching back phenomenon. However, most thought that switching back required consideration of the actual system situation and principles. These results pave the way for further research and guide researchers and companies through the process of switching back from microservice to monolith.
Funder
Research Council of Finland
Business Finland
Reference64 articles.
1. Modeling microservice architectures;J. Syst. Softw.,2024
2. Processes, motivations, and issues for migrating to microservices architectures: An empirical investigation;Taibi;IEEE Cloud Comput.,2017
3. Amoroso d’Aragona, D., Li, X., Cerny, T., Janes, A., Lenarduzzi, V., and Taibi, D. (2023, January 22–24). One microservice per developer: Is this the trend in OSS?. Proceedings of the European Conference on Service-Oriented and Cloud Computing, Wittenberg, Germany.
4. From Monolith to Microservices: A Semi-Automated Approach for Legacy to Modern Architecture Transition using Static Analysis;Osman;Int. J. Adv. Comput. Sci. Appl.,2022
5. Taibi, D., Lenarduzzi, V., and Pahl, C. (2018, January 19–21). Architectural patterns for microservices: A systematic mapping study. Proceedings of the CLOSER 2018: 8th International Conference on Cloud Computing and Services Science, Funchal, Portugal.