IDEAS home Printed from https://ideas.repec.org/a/gam/jftint/v17y2025i7p303-d1700679.html
   My bibliography  Save this article

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

Author

Listed:
  • 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)

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.

Suggested Citation

  • Rokin Maharjan & Korn Sooksatra & Tomas Cerny & Yudeep Rajbhandari & Sakshi Shrestha, 2025. "A Case Study on Monolith to Microservices Decomposition with Variational Autoencoder-Based Graph Neural Network," Future Internet, MDPI, vol. 17(7), pages 1-19, July.
  • Handle: RePEc:gam:jftint:v:17:y:2025:i:7:p:303-:d:1700679
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1999-5903/17/7/303/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1999-5903/17/7/303/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:17:y:2025:i:7:p:303-:d:1700679. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.