Graph Neural Network to Dilute Outliers for Refactoring Monolith Application
Utkarsh Desai, Sambaran Bandyopadhyay, Srikanth Tamilselvam
Abstract
Microservices are becoming the defacto design choice for software architecture. It involves partitioning the software components into finer modules such that the development can happen independently. It also provides natural benefits when deployed on the cloud since resources can be allocated dynamically to necessary components based on demand. Therefore, enterprises as part of their journey to cloud, are increasingly looking to refactor their monolith application into one or more candidate microservices; wherein each service contains a group of software entities (e.g., classes) that are responsible for a common functionality. Graphs are a natural choice to represent a software system. Each software entity can be represented as nodes and its dependencies with other entities as links. Therefore, this problem of refactoring can be viewed as a graph based clustering task. In this work, we propose a novel method to adapt the recent advancements in graph neural networks in the context of code to better understand the software and apply them in the clustering task. In that process, we also identify the outliers in the graph which can be directly mapped to top refactor candidates in the software. Our solution is able to improve state-of-the-art performance compared to works from both software engineering and existing graph representation based techniques.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext fa9a9106-3a57-421d-ac0c-4e4b9f829240Cited by top-tier papers2
- CARGO: AI-Guided Dependency Analysis for Migrating Monolithic Applications to Microservices ArchitectureVikram Nitin, Shubhi Asthana, Baishakhi Ray, Rahul KrishnaASE 2022 · 31 citations
- Microservice Decomposition Techniques: An Independent Tool ComparisonYingying Wang, Sarah Bornais, Julia RubinASE 2024 · 5 citations
Related papers
- Three Heads Are Better Than One: Suggesting Move Method Refactoring Opportunities with Inter-class Code Entity Dependency Enhanced Hybrid Hypergraph Neural NetworkDi Cui, Jiaqi Wang, Qiangqiang Wang, Peng Ji et al.ASE 2024 · 3 citations
- Hypergraph Neural Network-based Multi-Granular Root Cause Localization for Microservice SystemsYaxiao Li, Lu Wang, Chenxi Zhang, Qingshan Li et al.ASE 2025
- DGCLUSTER: A Neural Framework for Attributed Graph Clustering via Modularity MaximizationAritra Bhowmick, Mert Kosan, Zexi Huang, Ambuj K. Singh et al.AAAI 2024 · 41 citations
- UTANGO: untangling commits with context-aware, graph-based, code change clustering learning modelYi Li, Shaohua Wang, Tien N. NguyenFSE 2022 · 16 citations
- Detect Hidden Dependency to Untangle CommitsMengdan Fan, Wei Zhang, Haiyan Zhao, Guangtai Liang et al.ASE 2024 · 6 citations
