{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T02:11:50Z","timestamp":1775787110195,"version":"3.50.1"},"reference-count":45,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2025,3,19]],"date-time":"2025-03-19T00:00:00Z","timestamp":1742342400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"CAETI, Facultad de Inform\u00e1tica, Universidad Abierta Interamericana"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Software"],"abstract":"<jats:p>Microservices architecture has emerged as a dominant approach for developing scalable and modular software systems, driven by the need for agility and independent deployability. However, designing these architectures poses significant challenges, particularly in service decomposition, inter-service communication, and maintaining data consistency. To address these issues, artificial intelligence (AI) techniques, such as machine learning (ML) and natural language processing (NLP), have been applied with increasing frequency to automate and enhance the design process. This systematic literature review examines the application of AI in microservices design, focusing on AI-driven tools and methods for improving service decomposition, decision-making, and architectural validation. This review analyzes research studies published between 2018 and 2024 that specifically focus on the application of AI techniques in microservices design, identifying key AI methods used, challenges encountered in integrating AI into microservices, and the emerging trends in this research area. The findings reveal that AI has effectively been used to optimize performance, automate design tasks, and mitigate some of the complexities inherent in microservices architectures. However, gaps remain in areas such as distributed transactions and security. The study concludes that while AI offers promising solutions, further empirical research is needed to refine AI\u2019s role in microservices design and address the remaining challenges.<\/jats:p>","DOI":"10.3390\/software4010006","type":"journal-article","created":{"date-parts":[[2025,3,19]],"date-time":"2025-03-19T07:48:37Z","timestamp":1742370517000},"page":"6","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":12,"title":["Designing Microservices Using AI: A Systematic Literature Review"],"prefix":"10.3390","volume":"4","author":[{"ORCID":"https:\/\/orcid.org\/0009-0006-0210-6871","authenticated-orcid":false,"given":"Daniel","family":"Narv\u00e1ez","sequence":"first","affiliation":[{"name":"CAETI, Facultad de Tecnolog\u00eda Inform\u00e1tica, Universidad Abierta Interamericana (UAI), Ciudad Aut\u00f3noma de Buenos Aires C1270AAH, Argentina"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9386-3168","authenticated-orcid":false,"given":"Nicolas","family":"Battaglia","sequence":"additional","affiliation":[{"name":"CAETI, Facultad de Tecnolog\u00eda Inform\u00e1tica, Universidad Abierta Interamericana (UAI), Ciudad Aut\u00f3noma de Buenos Aires C1270AAH, Argentina"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7968-6871","authenticated-orcid":false,"given":"Alejandro","family":"Fern\u00e1ndez","sequence":"additional","affiliation":[{"name":"Laboratorio de Investigaci\u00f3n y Formaci\u00f3n en Inform\u00e1tica Avanzada (LIFIA), Facultad de Inform\u00e1tica, Universidad Nacional de La Plata (UNLP), La Plata 1900, Argentina"}]},{"given":"Gustavo","family":"Rossi","sequence":"additional","affiliation":[{"name":"CAETI, Facultad de Tecnolog\u00eda Inform\u00e1tica, Universidad Abierta Interamericana (UAI), Ciudad Aut\u00f3noma de Buenos Aires C1270AAH, Argentina"},{"name":"Laboratorio de Investigaci\u00f3n y Formaci\u00f3n en Inform\u00e1tica Avanzada (LIFIA), Facultad de Inform\u00e1tica, Universidad Nacional de La Plata (UNLP), La Plata 1900, Argentina"}]}],"member":"1968","published-online":{"date-parts":[[2025,3,19]]},"reference":[{"key":"ref_1","unstructured":"Vural, H., Koyuncu, M., and Guney, S. (2017). A systematic literature review on microservices. Computational Science and Its Applications\u2013ICCSA 2017: 17th International Conference, Trieste, Italy, 3\u20136 July 2017, Proceedings, Part VI 17, Springer."},{"key":"ref_2","unstructured":"Lewis, J., and Fowler, M. (2024, September 20). Microservices: A Definition of this New Architectural Term (2014). Available online: http:\/\/martinfowler.com\/articles\/microservices.html."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Li, Y., Li, Z., Bu, Y., Xiao, H., and Deng, Y. (2023, January 4\u20138). PF4MD: A Microservice Decomposition Tool Combining Problem Frames. Proceedings of the 2023 IEEE 31st International Requirements Engineering Conference (RE), Hannover, Germany.","DOI":"10.1109\/RE57278.2023.00051"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"111393","DOI":"10.1016\/j.jss.2022.111393","article-title":"Smells and refactorings for microservices security: A multivocal literature review","volume":"192","author":"Ponce","year":"2022","journal-title":"J. Syst. Softw."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"56","DOI":"10.1109\/MS.2018.2141031","article-title":"On the definition of microservice bad smells","volume":"35","author":"Taibi","year":"2018","journal-title":"IEEE Softw."},{"key":"ref_6","unstructured":"Evans, E. (2004). Domain-Driven Design: Tackling Complexity in the Heart of Software, Addison-Wesley Professional."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"32721","DOI":"10.1109\/ACCESS.2021.3060895","article-title":"Does domain-driven design lead to finding the optimal modularity of a microservice?","volume":"9","author":"Vural","year":"2021","journal-title":"IEEE Access"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"1425","DOI":"10.1109\/TSE.2024.3385835","article-title":"Domain-driven design for microservices: An evidence-based investigation","volume":"50","author":"Zhong","year":"2024","journal-title":"IEEE Trans. Softw. Eng."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Alshuqayran, N., Ali, N., and Evans, R. (2016, January 4\u20136). A systematic mapping study in microservice architecture. Proceedings of the 2016 IEEE 9th International Conference on Service-Oriented Computing and Applications (SOCA), Macau, China.","DOI":"10.1109\/SOCA.2016.15"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"67008","DOI":"10.1109\/ACCESS.2022.3182495","article-title":"GreenMicro: Identifying microservices from use cases in greenfield development","volume":"10","author":"Bajaj","year":"2022","journal-title":"IEEE Access"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"e1380","DOI":"10.7717\/peerj-cs.1380","article-title":"SEMGROMI\u2014A semantic grouping algorithm to identifying microservices using semantic similarity of user stories","volume":"9","author":"Cuadros","year":"2023","journal-title":"PeerJ Comput. Sci."},{"key":"ref_12","first-page":"2751","article-title":"GTMicro\u2014Microservice identification approach based on deep NLP transformer model for greenfield developments","volume":"16","author":"Bajaj","year":"2024","journal-title":"Int. J. Inf. Technol."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Liu, K., Reddivari, S., and Reddivari, K. (2022, January 9\u201311). Artificial intelligence in software requirements engineering: State-of-the-art. Proceedings of the 2022 IEEE 23rd International Conference on Information Reuse and Integration for Data Science (IRI), San Diego, CA, USA.","DOI":"10.1109\/IRI54793.2022.00034"},{"key":"ref_14","unstructured":"Kochbati, T., Li, S., G\u00e9rard, S., and Mraidha, C. (2021, January 8\u201310). From user stories to models: A machine learning empowered automation. Proceedings of the MODELSWARD 2022-9th International Conference on Model-Driven Engineering and Software Development, Online Streaming, France."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"D\u00edaz-Pace, J.A., Tommasel, A., and Capilla, R. (2024). Helping Novice Architects to Make Quality Design Decisions Using an LLM-Based Assistant. European Conference on Software Architecture, Springer.","DOI":"10.1007\/978-3-031-70797-1_21"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"88339","DOI":"10.1109\/ACCESS.2023.3305687","article-title":"A survey on microservices architecture: Principles, patterns and migration challenges","volume":"11","author":"Velepucha","year":"2023","journal-title":"IEEE Access"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Nitin, V., Asthana, S., Ray, B., and Krishna, R. (2022, January 10\u201314). Cargo: Ai-guided dependency analysis for migrating monolithic applications to microservices architecture. Proceedings of the 37th IEEE\/ACM International Conference on Automated Software Engineering, Rochester, MI, USA.","DOI":"10.1145\/3551349.3556960"},{"key":"ref_18","first-page":"428","article-title":"Architecting microservices: Practical opportunities and challenges","volume":"60","author":"Nguyen","year":"2020","journal-title":"J. Comput. Inf. Syst."},{"key":"ref_19","first-page":"190","article-title":"A Holistic Machine Learning-based Autoscaling Approach for Microservice Applications","volume":"1","author":"Goli","year":"2021","journal-title":"CLOSER"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"1090","DOI":"10.17762\/ijritcc.v11i11.10618","article-title":"Microservices and API Deployment Optimization Using AI","volume":"11","author":"Charankar","year":"2024","journal-title":"Int. J. Recent Innov. Trends Comput. Commun."},{"key":"ref_21","unstructured":"Ierache, J., Garc\u00eda-Mart\u00ednez, R., and De Giusti, A. (2008, January 7\u201310). Learning life cycle in autonomous intelligent systems. Proceedings of the IFIP International Conference on Artificial Intelligence in Theory and Practice, Milano, Italy."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"107334","DOI":"10.1016\/j.infsof.2023.107334","article-title":"Microservice-based projects in agile world: A structured interview","volume":"165","author":"Kennouche","year":"2024","journal-title":"Inf. Softw. Technol."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"n71","DOI":"10.1136\/bmj.n71","article-title":"The PRISMA 2020 statement: An updated guideline for reporting systematic reviews","volume":"372","author":"Page","year":"2021","journal-title":"BMJ"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"792","DOI":"10.1016\/j.infsof.2010.03.006","article-title":"Systematic literature reviews in software engineering\u2014A tertiary study","volume":"52","author":"Kitchenham","year":"2010","journal-title":"Inf. Softw. Technol."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Kalia, A.K., Xiao, J., Lin, C., Sinha, S., Rofrano, J., Vukovic, M., and Banerjee, D. (2020, January 8\u201313). Mono2micro: An ai-based toolchain for evolving monolithic enterprise applications to a microservice architecture. Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, Virtual USA.","DOI":"10.1145\/3368089.3417933"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Magableh, B., and Almiani, M. (IEEE Acess, 2019). Deep Q Learning for Self Adaptive Distributed Microservices Architecture, IEEE Acess, in press.","DOI":"10.1002\/spe.2778"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Dhar, R., Vaidhyanathan, K., and Varma, V. (2024). Can LLMs Generate Architectural Design Decisions?\u2014An Exploratory Empirical study. arXiv.","DOI":"10.1109\/ICSA59870.2024.00016"},{"key":"ref_28","first-page":"63","article-title":"AI-Driven Partitioning Framework for Migrating Monolithic Applications to Microservices","volume":"8","author":"Ramamoorthi","year":"2023","journal-title":"J. Comput. Soc. Dyn."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"9745","DOI":"10.1007\/s00521-019-04507-z","article-title":"Machine learning-based auto-scaling for containerized applications","volume":"32","author":"Imdoukh","year":"2020","journal-title":"Neural Comput. Appl."},{"key":"ref_30","first-page":"24","article-title":"Artificial Intelligence Enabled Microservice Container Orchestration to increase efficiency and scalability for High Volume Transaction System in Cloud Environment","volume":"3","author":"Singh","year":"2023","journal-title":"J. Artif. Intell. Res. Appl."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3510415","article-title":"Machine learning-based orchestration of containers: A taxonomy and future directions","volume":"54","author":"Zhong","year":"2022","journal-title":"ACM Comput. Surv. (CSUR)"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Jiang, Y., Zhang, N., and Ren, Z. (2020, January 11\u201312). Research on intelligent monitoring scheme for microservice application systems. Proceedings of the 2020 International Conference on Intelligent Transportation, Big Data & Smart City (ICITBS), Vientiane, Laos.","DOI":"10.1109\/ICITBS49701.2020.00173"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Power, A., and Kotonya, G. (2018, January 12\u201315). A microservices architecture for reactive and proactive fault tolerance in iot systems. Proceedings of the 2018 IEEE 19th International Symposium on \u201cA World of Wireless, Mobile and Multimedia Networks\u201d (WoWMoM), Chania, Greece.","DOI":"10.1109\/WoWMoM.2018.8449789"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Gan, Y., Liang, M., Dev, S., Lo, D., and Delimitrou, C. (2021, January 19\u201323). Sage: Practical and scalable ML-driven performance debugging in microservices. Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Virtual USA.","DOI":"10.1145\/3445814.3446700"},{"key":"ref_35","unstructured":"Zubov, D., Kupin, A., Kosei, M., and Holiver, V. (2024, January 12\u201313). Models and Technologies for Autoscaling Based on Machine Learning for Microservices Architecture. Proceedings of the COLINS-2024: 8th International Conference on Computational Linguistics and Intelligent Systems, Lviv, Ukraine."},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Zhang, Y., Hua, W., Zhou, Z., Suh, G.E., and Delimitrou, C. (2021, January 19\u201323). Sinan: ML-based and QoS-aware resource management for cloud microservices. Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Virtual USA.","DOI":"10.1145\/3445814.3446693"},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Kang, P., and Lama, P. (2020, January 7\u201310). Robust resource scaling of containerized microservices with probabilistic machine learning. Proceedings of the 2020 IEEE\/ACM 13th International Conference on Utility and Cloud Computing (UCC), Leicester, UK.","DOI":"10.1109\/UCC48980.2020.00031"},{"key":"ref_38","first-page":"4","article-title":"Can architecture knowledge guide software development with generative AI?","volume":"40","author":"Ozkaya","year":"2023","journal-title":"IEEE Softw."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"JMaranh\u00e3o, J.O., and Guerra, E.M. (2024, January 3\u20137). A Prompt Pattern Sequence Approach to Apply Generative AI in Assisting Software Architecture Decision-making. Proceedings of the 29th European Conference on Pattern Languages of Programs, People, and Practices, Irsee, Germany.","DOI":"10.1145\/3698322.3698324"},{"key":"ref_40","unstructured":"Phoenix, J., and Taylor, M. (2024). Prompt Engineering for Generative AI: Future-Proof Inputs for Reliable AI Outputs at Scale, O\u2019Reilly Media, Inc."},{"key":"ref_41","unstructured":"Hays, S., Fu, Q., Spencer-Smith, J., and Schmidt, D.C. (2024). Chatgpt prompt patterns for improving code quality, refactoring, requirements elicitation, and software design. Generative AI for Effective Software Development, Springer."},{"key":"ref_42","unstructured":"Moreschini, S., Pour, S., Lanese, I., Balouek-Thomert, D., Bogner, J., Li, X., Pecorelli, F., Soldani, J., Truyen, E., and Taibi, D. (2023). AI Techniques in the Microservices Life-Cycle: A Survey. arXiv."},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Alipour, H., and Liu, Y. (2017, January 11\u201314). Online machine learning for cloud resource provisioning of microservice backend systems. Proceedings of the 2017 IEEE International Conference on Big Data (Big Data), Boston, MA, USA.","DOI":"10.1109\/BigData.2017.8258201"},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"Haselb\u00f6ck, S., Weinreich, R., Buchgeher, G., and Kriechbaum, T. (2018, January 20\u201322). Microservice design space analysis and decision documentation: A case study on API management. Proceedings of the 2018 IEEE 11th Conference on Service-Oriented Computing and Applications (SOCA), Paris, France.","DOI":"10.1109\/SOCA.2018.00008"},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Parekh, N., Kurunji, S., and Beck, A. (2018, January 1\u20133). Monitoring resources of machine learning engine in microservices architecture. Proceedings of the 2018 IEEE 9th Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON), Vancouver, BC, Canada.","DOI":"10.1109\/IEMCON.2018.8614791"}],"container-title":["Software"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2674-113X\/4\/1\/6\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T16:56:20Z","timestamp":1760028980000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2674-113X\/4\/1\/6"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,3,19]]},"references-count":45,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2025,3]]}},"alternative-id":["software4010006"],"URL":"https:\/\/doi.org\/10.3390\/software4010006","relation":{},"ISSN":["2674-113X"],"issn-type":[{"value":"2674-113X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,3,19]]}}}