Exploring Alternative Microservice Decompositions using Data-driven Techniques and LLMs
DOI:
https://doi.org/10.19153/cleiej.28.3.6Keywords:
microservices, monolith decomposition, sensitivity analysis, clustering, semantic layer, llmsAbstract
The problem of migrating monolithic applications to microservices has become popular both in industry and academia, particularly when using automated tools to assist developers in the decomposition. However, deciding which is the most appropriate decomposition for a given monolith is challenging because the selected technique can return alternative decompositions depending on tool parameter configurations. This issue, often overlooked in the literature, makes developers have to resort to their intuition or use default parameters, leading to uncertain or opaque results. Based on a prior study of the parameters and variability of the decompositions generated an existing tool (MicroMiner), we propose an approach that leverages data-driven techniques to analyze the space of possible decompositions. These analytics are wrapped as predefined analysis mechanisms. Furthermore, we introduce a semantic layer based on an LLM, which connects developers' questions about the decompositions with predefined analyses, delivering textual answers and graphical charts. This enables user-friendly interactions between developers and decomposition tools' data. Our results demonstrate that our approach effectively identifies key parameters influencing decompositions and that the semantic layer provided relevant answers to 74% of possible practitioners' questions about the decomposition landscape, bringing insights into the tool parametrizations and also improving the interpretability of results by humans.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Ana Martínez Saucedo, J. Andres Diaz-Pace, Hernán Astudillo, Guillermo Rodriguez

This work is licensed under a Creative Commons Attribution 4.0 International License.
CLEIej is supported by its home institution, CLEI, and by the contribution of the Latin American and international researchers community, and it does not apply any author charges whatsoever for submitting and publishing. Since its creation in 1998, all contents are made publicly accesibly. The current license being applied is a (CC)-BY license (effective October 2015; between 2011 and 2015 a (CC)-BY-NC license was used).