Automated Microservice Pattern Instance Detection Using Infrastructure-as-Code Artifacts and Large Language Models
Thu 3 Apr 2025 15:38 - 15:40 at Main Hall (O100) - Speed Presentations Chair(s): Mahyar T. Moghaddam
Documenting software architecture is essential to preserve architecture knowledge, even though it is frequently costly. Architecture pattern instances, including microservice pattern instances, provide important structural software information. Practitioners should document this information to prevent knowledge vaporization. However, architecture patterns may not be detectable by analyzing source code artifacts, requiring the analysis of other types of artifacts. Moreover, many existing pattern detection instance approaches are complex to extend. This article presents our ongoing PhD research, early experiments, and a prototype for a tool we call MicroPAD for automating the detection of microservice pattern instances. The prototype uses Large Language Models (LLMs) to analyze Infrastructure-as-Code (IaC) artifacts to aid detection, aiming to keep costs low and maximize the scope of detectable patterns. Early experiments ran the prototype thrice in 22 GitHub projects. We verified that 83% of the patterns that the prototype identified were in the project. The costs of detecting the pattern instances were minimal. These results indicate that the approach is likely viable and, by lowering the entry barrier to automating pattern instance detection, could help democratize developer access to this category of architecture knowledge. Finally, we present our overall research methodology, planned future work, and an overview of MicroPAD’s potential industrial impact.
Thu 3 AprDisplayed time zone: Brussels, Copenhagen, Madrid, Paris change
10:30 - 11:30 | Early Career 1Early Career Track at Side Event Room (U75) Chair(s): Alessio Bucaioni Mälardalen University, Patricia Lago Vrije Universiteit Amsterdam | ||
10:30 20mPaper | A Measurement-Driven Approach to Enhancing Sustainability in Microservice Architectures Early Career Track Eoan O'Dea University of L'Aquila | ||
10:50 20mPaper | Automated Microservice Pattern Instance Detection Using Infrastructure-as-Code Artifacts and Large Language Models Early Career Track Carlos Eduardo Duarte INESC TEC, Faculdade de Engenharia, Universidade do Porto DOI Pre-print | ||
11:10 20mPaper | Toward a non-invasive architecture supporting traditional textile manufacturing systems in their transition to Industry 4.0 Early Career Track |