This paper examines the transformative potential of Large Language Models (LLMs) in automating the generation of microservices, highlighting their capabilities, applications, and associated challenges. While LLMs such as GPT-3, GPT-4, and GPT-4o demonstrate remarkable advancements in automating software engineering tasks, offering enhanced productivity, scalability, and efficiency, critical challenges persist. These include dependency management, adherence to architectural patterns, and mitigating security vulnerabilities like SQL Injection and improper error handling. Through systematic experimentation, this paper evaluates the performance of LLMs across properties such as correctness, scalability, security, and efficiency. Key contributions include the demonstration of GPT-4o's notable advancements in generating scalable and secure microservices, driven by enhanced training methodologies, curated datasets, and security-aware prompts. The paper also emphasizes strategies for overcoming remaining challenges, proposing a roadmap for advancing LLMs as reliable tools in modern software development practices, particularly in security-critical and scalable microservice architectures.
LLMs for Microservice Generation: Capabilities, Challenges, and Advancements / Spista, Raffaele; Crispo, Bruno; Giorgini, Paolo; Marchetto, Alessandro; Riccardi, Giuseppe. - (2025), pp. 25-32. ( 2025 IEEE International Conference on Industry 4.0, Artificial Intelligence, and Communications Technology, IAICT 2025 Indonesia 03-05 July 2025) [10.1109/IAICT65714.2025.11100313].
LLMs for Microservice Generation: Capabilities, Challenges, and Advancements
Crispo, Bruno;Giorgini, Paolo
;Marchetto, Alessandro;Riccardi, Giuseppe
2025-01-01
Abstract
This paper examines the transformative potential of Large Language Models (LLMs) in automating the generation of microservices, highlighting their capabilities, applications, and associated challenges. While LLMs such as GPT-3, GPT-4, and GPT-4o demonstrate remarkable advancements in automating software engineering tasks, offering enhanced productivity, scalability, and efficiency, critical challenges persist. These include dependency management, adherence to architectural patterns, and mitigating security vulnerabilities like SQL Injection and improper error handling. Through systematic experimentation, this paper evaluates the performance of LLMs across properties such as correctness, scalability, security, and efficiency. Key contributions include the demonstration of GPT-4o's notable advancements in generating scalable and secure microservices, driven by enhanced training methodologies, curated datasets, and security-aware prompts. The paper also emphasizes strategies for overcoming remaining challenges, proposing a roadmap for advancing LLMs as reliable tools in modern software development practices, particularly in security-critical and scalable microservice architectures.| File | Dimensione | Formato | |
|---|---|---|---|
|
LLMs_for_Microservice_Generation_Capabilities_Challenges_and_Advancements.pdf
Solo gestori archivio
Tipologia:
Versione editoriale (Publisher’s layout)
Licenza:
Tutti i diritti riservati (All rights reserved)
Dimensione
228.97 kB
Formato
Adobe PDF
|
228.97 kB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione



