Enhancing Microservice Migration Transformation from Monoliths with Graph Neural Networks

被引:0
作者
Chen, Deli [1 ]
Ye, Chunyang [1 ]
Zhou, Hui [1 ]
Lai, Shanyan [1 ]
Li, Bo [1 ]
机构
[1] Hainan Univ, Sch Comp Sci & Technol, Haikou, Peoples R China
来源
2025 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING, SANER | 2025年
基金
中国国家自然科学基金;
关键词
Monolithic programs; Microservice architecture; Microservice extraction; Graph neural network; Dual view;
D O I
10.1109/SANER64311.2025.00021
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
The task of converting monolithic programs to microservices architecture is complex, hindered by the intertwined nature of program control and data flows. Conventional methods for microservice extraction often fall short in capturing the essential connections within a monolithic structure and in propagating properties to distant neighbors for effective clustering. To address these issues, we introduce an innovative graph-based deep clustering technique that utilizes both control flow and data flow graphs. This approach offers a thorough analysis of class interactions within monolithic applications, facilitating accurate identification and extraction of microservices. Furthermore, we present the Microservice Extraction Graph Neural Network (MEGNN), an advanced graph attention network designed to enhance message transmission depth and enable nodes to assimilate features from k-hop neighbors. This method extends the reach of message distribution across node chains and mitigates the issue of feature homogenization, leading to more cohesive clustering of related nodes and improving the quality of microservices extraction. Experimental evaluations on data from three publicly accessible Java monolithic programs confirm that our proposed method surpasses existing techniques in microservices extraction efficacy.
引用
收藏
页码:136 / 146
页数:11
相关论文
共 30 条
[21]   Finding and evaluating community structure in networks [J].
Newman, MEJ ;
Girvan, M .
PHYSICAL REVIEW E, 2004, 69 (02) :026113-1
[22]   CARGO: AI-Guided Dependency Analysis for Migrating Monolithic Applications to Microservices Architecture [J].
Nitin, Vikram ;
Asthana, Shubhi ;
Ray, Baishakhi ;
Krishna, Rahul .
PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
[23]   The untold story of code refactoring customizations in practice [J].
Oliveira, Daniel ;
Assuncao, Wesley K. G. ;
Garcia, Alessandro ;
Bibiano, Ana Carla ;
Ribeiro, Marcio ;
Gheyi, Rohit ;
Fonseca, Baldoino .
2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE, 2023, :108-120
[24]   Microservice extraction using graph deep clustering based on dual view fusion [J].
Qian, Lifeng ;
Li, Jing ;
He, Xudong ;
Gu, Rongbin ;
Shao, Jiawei ;
Lu, Yuqi .
INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 158
[25]   Improving microservices extraction using evolutionary search [J].
Sellami, Khaled ;
Ouni, Ali ;
Saied, Mohamed Aymen ;
Bouktif, Salah ;
Mkaouer, Mohamed Wiem .
INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 151
[26]   Microservices [J].
Thoenes, Johannes .
IEEE SOFTWARE, 2015, 32 (01) :116-+
[27]  
Veličkovic P, 2018, Arxiv, DOI [arXiv:1710.10903, DOI 10.48550/ARXIV.1710.10903, 10.48550/arXiv.1710.10903, DOI 10.17863/CAM.48429]
[28]   SR-HGN: Semantic- and Relation-Aware Heterogeneous Graph Neural Network [J].
Wang, Zehong ;
Yu, Donghua ;
Li, Qi ;
Shen, Shigen ;
Yao, Shuang .
EXPERT SYSTEMS WITH APPLICATIONS, 2023, 224
[29]   Modernizing Legacy Systems with Microservices: A Roadmap [J].
Wolfart, Daniele ;
Assuncao, Wesley K. G. ;
da Silva, Ivonei F. ;
Domingos, Diogo C. P. ;
Schmeing, Ederson ;
Donin Villaca, Guilherme L. ;
Paza, Diogo do N. .
PROCEEDINGS OF EVALUATION AND ASSESSMENT IN SOFTWARE ENGINEERING (EASE 2021), 2021, :149-159
[30]  
Wu JW, 2005, PROC IEEE INT CONF S, P525