Automated Microservice Pattern Instance Detection Using Infrastructure-as-Code Artifacts and Large Language Models
Carlos Eduardo Duarte

TL;DR
This paper introduces MicroPAD, a prototype tool leveraging Large Language Models to automate detection of microservice pattern instances from Infrastructure-as-Code artifacts, aiming to reduce costs and broaden pattern detection scope.
Contribution
The paper presents a novel approach using LLMs to analyze IaC artifacts for microservice pattern detection, with promising early experimental results demonstrating feasibility.
Findings
83% of detected patterns were verified in projects
Detection costs were minimal
Approach shows potential for broad pattern detection
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware System Performance and Reliability · Cloud Computing and Resource Management · Service-Oriented Architecture and Web Services
