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 条
[1]   Unsupervised learning approach for web application auto-decomposition into microservices [J].
Abdullah, Muhammad ;
Iqbal, Waheed ;
Erradi, Abdelkarim .
JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 151 :243-257
[2]  
Adams B, 2007, PROC IEEE INT CONF S, P214
[3]   Monolith to Microservice Candidates using Business Functionality Inference [J].
Agarwal, Shivali ;
Sinha, Raunak ;
Sridhara, Giriprasad ;
Das, Pratap ;
Desai, Utkarsh ;
Tamilselvam, Srikanth ;
Singhee, Amith ;
Nakamuro, Hiroaki .
2021 IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES, ICWS 2021, 2021, :758-763
[4]   Systematic Approach for Generation of Feasible Deployment Alternatives for Microservices [J].
Aksakalli, Isil Karabey ;
Celik, Turgay ;
Can, Ahmet Burak ;
Tekinerdogan, Bedir .
IEEE ACCESS, 2021, 9 :29505-29529
[5]  
Arthur D, 2007, PROCEEDINGS OF THE EIGHTEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P1027
[6]   A Multi-Criteria Strategy for Redesigning Legacy Features as Microservices: An Industrial Case Study [J].
Assuncao, Wesley K. G. ;
Colanzi, Thelma Elita ;
Carvalho, Luiz ;
Pereira, Juliana Alves ;
Garcia, Alessandro ;
de Lima, Maria Julia ;
Lucena, Carlos .
2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2021), 2021, :377-387
[7]  
Carvalho L., IEEE ACM JOINT 7 INT, P22
[8]   Extraction of Configurable and Reusable Microservices from Legacy Systems: An Exploratory Study [J].
Carvalho, Luiz ;
Garcia, Alessandro ;
Assuncao, Wesley K. G. ;
Bonifacio, Rodrigo ;
Tizzei, Leonardo P. ;
Colanzi, Thelma Elita .
SPLC'19: PROCEEDINGS OF THE 23RD INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, VOL A, 2020, :26-31
[9]  
Desai U, 2021, AAAI CONF ARTIF INTE, V35, P72
[10]   Community detection in graphs [J].
Fortunato, Santo .
PHYSICS REPORTS-REVIEW SECTION OF PHYSICS LETTERS, 2010, 486 (3-5) :75-174