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 条
[41]   Triple Extraction with Generative Technique for Constructing Weighted Knowledge Graph [J].
Parniani, Mohammad Sahand ;
Reformat, Marek Z. .
2023 IEEE INTERNATIONAL CONFERENCE ON WEB INTELLIGENCE AND INTELLIGENT AGENT TECHNOLOGY, WI-IAT, 2023, :127-134
[42]   GREG: A Global Level Relation Extraction with Knowledge Graph Embedding [J].
Kim, Kuekyeng ;
Hur, Yuna ;
Kim, Gyeongmin ;
Lim, Heuiseok .
APPLIED SCIENCES-BASEL, 2020, 10 (03)
[43]   Knowledge Graph Construction and Applications for Web Search and Beyond [J].
Wang, Peilu ;
Jiang, Hao ;
Xu, Jingfang ;
Zhang, Qi .
DATA INTELLIGENCE, 2019, 1 (04) :333-349
[44]   Applications of Deep Learning in Knowledge Graph Construction and Reasoning [J].
Sun, Yu ;
Liu, Chuan ;
Zhou, Yang .
Computer Engineering and Applications, 2025, 61 (06) :36-52
[45]   Knowledge Graph in Data Quality Evaluation for IoT applications [J].
Khokhlov, Igor ;
Reznik, Leon .
2020 IEEE 6TH WORLD FORUM ON INTERNET OF THINGS (WF-IOT), 2020,
[46]   An Overview of Knowledge Graph Reasoning: Key Technologies and Applications [J].
Chen, Yonghong ;
Li, Hao ;
Li, Han ;
Liu, Wenhao ;
Wu, Yirui ;
Huang, Qian ;
Wan, Shaohua .
JOURNAL OF SENSOR AND ACTUATOR NETWORKS, 2022, 11 (04)
[47]   Knowledge graph reasoning: Mainstream methods, applications and prospects [J].
Liu, Han ;
Yang, Shaojie ;
Shi, Guokai ;
Miao, Zongcheng .
ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2025, 159
[48]   Knowledge graph construction and Internet of Things optimisation for power grid data knowledge extraction [J].
Sun, Xiangju ;
Hao, Ting ;
Li, Xing .
APPLIED MATHEMATICS AND NONLINEAR SCIENCES, 2022, 8 (01) :2729-2738
[49]   OpenIE-based approach for Knowledge Graph construction from text [J].
Martinez-Rodriguez, Jose L. ;
Lopez-Arevalo, Ivan ;
Rios-Alvarado, Ana B. .
EXPERT SYSTEMS WITH APPLICATIONS, 2018, 113 :339-355
[50]   Gene Ranking based on Paths from Phenotypes to Genes on Knowledge Graph [J].
Yamaguchi, Atsuko ;
Shin, Jae-Moon ;
Fujiwara, Toyofumi .
PROCEEDINGS OF THE 10TH INTERNATIONAL JOINT CONFERENCE ON KNOWLEDGE GRAPHS (IJCKG 2021), 2021, :131-134