MAGNET: Method-based Approach using Graph Neural Network for Microservices Identification. Trabelsi, I., Moha, N., Gu�h�neuc, Y., & Geffard, L. In Spalazzese, R. & Koziolek, H., editors, Proceedings of the 21<sup>st</sup> International Conference on Software Architecture (ICSA), pages 1–11, June, 2024. IEEE CS Press. 11 pages. ORO and ROR Functional Badges.
MAGNET: Method-based Approach using Graph Neural Network for Microservices Identification [pdf]Paper  abstract   bibtex   
Monolithic software systems face significant challenges in terms of maintenance, scalability, and portability. To address these challenges, many companies are embracing the microservices architectural style as a more flexible alternative to their monoliths. Microservices structure systems into modular, independent components, enabling easier development, deployment, and maintenance. However, the migration from a monolith to microservices is challenging due to the laborious task of manually identifying and decomposing a system into microservices. Several earlier studies focused on developing approaches to facilitate the migration process. However, the reliance on domain experts to define various parameters and thresholds restricted their use. In this paper, we introduce Magnet, a fully automated microservice identification approach, based on graph neural networks (GNNs). Magnet integrates a GNN model with a fine-grained method-based graph enriched with semantic and static features of the system. It enables accurate microservices identification while simultaneously promoting microservice cohesion and reducing microservice coupling. To validate the accuracy of Magnet, we performed extensive experiments using a set of open-source systems. Quantitatively, we use a set of quality metrics to assess the resulting microservices quality. We also compare our results to established ground truths. Empirical evidence suggests that our fully-automated approach Magnet achieves precision and recall rates of 56% and 68%. Qualitatively, we assess the modularity and functional independence of the resulting microservices by examining their relationships and semantic integrity. This evaluation demonstrates that our fully automated approach yields promising results, underlining its effectiveness in creating modular and coherent microservices.

Downloads: 0