Microservice extraction based on knowledge graph from monolithic applications

被引:0
作者
Li, Zhiding [1 ]
Shang, Chenqi [1 ]
Wu, Jianjie [1 ]
Li, Yuan [2 ]
机构
[1] Huazhong Univ Sci & Technol, Sch Software Engn, Wuhan, Hubei, Peoples R China
[2] Hubei Open Univ, Sch Elect & Informat Engn, Wuhan, Hubei, Peoples R China
关键词
Microservice extraction; Knowledge graph; Monolithic architecture; Constrained Louvain algorithm;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: Re-architecting monolithic systems with microservice architecture is a common trend. However, determining the "optimal" size of individual services during microservice extraction has been a challenge in software engineering. Common limitations of the literature include not being reasonable enough to be put into practical application; relying too much on human experience; neglection of the impact of hardware environment on the performance.Objective: To address these problems, this paper proposes a novel method based on knowledge-graph to support the extraction of microservices during the initial phases of re-architecting existing applications.Method: According to the microservice extraction method based on the AKF principle which is a widely practiced microservice design principle in the industry, four kinds of entities and four types of entity-entity relationships are designed and automatically extracted from specification and design artifacts of the monolithic application to build the knowledge graph. A constrained Louvain algorithm is proposed to identify microservice candidates.Results: Our approach is tested based on two open-source projects with the other three typical methods: the domain-driven design-based method, the similarity calculation-based method, and the graph clustering-based method . Conducted experiments show that our method performs well concerning all the evaluation metrics.
引用
收藏
页数:20
相关论文
共 50 条
[21]   Biological gene extraction path based on knowledge graph and natural language processing [J].
Zhang, Canlin ;
Cao, Xiaopei .
FRONTIERS IN GENETICS, 2023, 13
[22]   MEDICAL ENTITY EXTRACTION AND KNOWLEDGE GRAPH CONSTRUCTION [J].
Deng, Wei ;
Guo, Panpan ;
Yang, Jiudong .
2019 16TH INTERNATIONAL COMPUTER CONFERENCE ON WAVELET ACTIVE MEDIA TECHNOLOGY AND INFORMATION PROCESSING (ICWAMTIP), 2019, :41-44
[23]   Knowledge Graph Construction: Extraction, Learning, and Evaluation [J].
Choi, Seungmin ;
Jung, Yuchul .
APPLIED SCIENCES-BASEL, 2025, 15 (07)
[24]   Extraction of optimal synthesis conditions from scientific literature using a knowledge graph [J].
Kobayashi, Shigeru ;
Kuwashiro, Norikazu ;
Itoh, Fumiaki ;
Sakurai, Dai ;
Hitosugi, Taro .
SCIENCE AND TECHNOLOGY OF ADVANCED MATERIALS-METHODS, 2024, 4 (01)
[25]   Enriching contextualized language model from knowledge graph for biomedical information extraction [J].
Fei, Hao ;
Ren, Yafeng ;
Zhang, Yue ;
Ji, Donghong ;
Liang, Xiaohui .
BRIEFINGS IN BIOINFORMATICS, 2021, 22 (03)
[26]   Enhancing Microservice Migration Transformation from Monoliths with Graph Neural Networks [J].
Chen, Deli ;
Ye, Chunyang ;
Zhou, Hui ;
Lai, Shanyan ;
Li, Bo .
2025 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING, SANER, 2025, :136-146
[27]   Automatic knowledge extraction from Chinese electronic medical records and rheumatoid arthritis knowledge graph construction [J].
Liu, Feifei ;
Liu, Mingtong ;
Li, Meiting ;
Xin, Yuwei ;
Gao, Dongping ;
Wu, Jun ;
Zhu, Jiaan .
QUANTITATIVE IMAGING IN MEDICINE AND SURGERY, 2023, 13 (06) :3873-+
[28]   Attention-Aware Path-Based Relation Extraction for Medical Knowledge Graph [J].
Wen, Desi ;
Liu, Yong ;
Yuan, Kaiqi ;
Si, Shangchun ;
Shen, Ying .
SMART COMPUTING AND COMMUNICATION, SMARTCOM 2017, 2018, 10699 :321-331
[29]   Risk factors extraction and analysis of Chinese ship collision accidents based on knowledge graph [J].
Chen, Jihong ;
Zhuang, Chenglin ;
Shi, Jia ;
Jiang, Houqiang ;
Xu, Jinyu ;
Liu, Jutong .
OCEAN ENGINEERING, 2025, 322
[30]   Knowledge Graph Enhanced Event Extraction in Financial Documents [J].
Guo, Kaihao ;
Jiang, Tianpei ;
Zhang, Haipeng .
2020 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2020, :1322-1329