EconPapers    
Economics at your fingertips  
 

A Case Study on Monolith to Microservices Decomposition with Variational Autoencoder-Based Graph Neural Network

Rokin Maharjan (), Korn Sooksatra, Tomas Cerny (), Yudeep Rajbhandari and Sakshi Shrestha
Additional contact information
Rokin Maharjan: Department of Computer Science, Baylor University, Waco, TX 76798-7141, USA
Korn Sooksatra: Department of Computer Science, Baylor University, Waco, TX 76798-7141, USA
Tomas Cerny: Department of Systems and Industrial Engineering, University of Arizona, Tucson, AZ 85721-0020, USA
Yudeep Rajbhandari: Department of Computer Science, Baylor University, Waco, TX 76798-7141, USA
Sakshi Shrestha: Department of Computing, East Tennessee State University, Johnson City, TN 37614-1700, USA

Future Internet, 2025, vol. 17, issue 7, 1-19

Abstract: Microservice is a popular architecture for developing cloud-native applications. However, decomposing a monolithic application into microservices remains a challenging task. This complexity arises from the need to account for factors such as component dependencies, cohesive clusters, and bounded contexts. To address this challenge, we present an automated approach to decomposing monolithic applications into microservices. Our approach uses static code analysis to generate a dependency graph of the monolithic application. Then, a variational autoencoder (VAE) is used to extract features from the components of a monolithic application. Finally, the C-means algorithm is used to cluster the components into possible microservices. We evaluate our approach using a third-party benchmark comprising both monolithic and microservice implementations. Additionally, we compare its performance against two existing decomposition techniques. The results demonstrate the potential of our method as a practical tool for guiding the transition from monolithic to microservice architectures.

Keywords: microservices; static code analysis; AI; machine learning; graph neural networks; variational autoencoder; C-means (search for similar items in EconPapers)
JEL-codes: O3 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/1999-5903/17/7/303/pdf (application/pdf)
https://www.mdpi.com/1999-5903/17/7/303/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jftint:v:17:y:2025:i:7:p:303-:d:1700679

Access Statistics for this article

Future Internet is currently edited by Ms. Grace You

More articles in Future Internet from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-07-14
Handle: RePEc:gam:jftint:v:17:y:2025:i:7:p:303-:d:1700679