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 条
[31]   Process Knowledge Extraction and Knowledge Graph Construction Through Prompting: A Quantitative Analysis [J].
Bellan, Patrizio ;
Dragoni, Mauro ;
Ghidini, Chiara .
39TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2024, 2024, :1634-1641
[32]   Graph Embedding Based Recommendation Techniques on the Knowledge Graph [J].
Grad-Gyenge, Laszlo ;
Kiss, Attila ;
Filzmoser, Peter .
ADJUNCT PUBLICATION OF THE 25TH CONFERENCE ON USER MODELING, ADAPTATION AND PERSONALIZATION (UMAP'17), 2017, :354-359
[33]   From Ontology to Knowledge Graph Trend: Ontology as Foundation Layer for Knowledge Graph [J].
Al-Aswadi, Fatima N. ;
Chan, Huah Yong ;
Gan, Keng Hoon .
KNOWLEDGE GRAPHS AND SEMANTIC WEB, KGSWC 2022, 2022, 1686 :330-340
[34]   A Cyberspace Security Knowledge System Based on Knowledge Graph [J].
Ma, Bin ;
Li, Dongqi ;
Wang, Chunpeng ;
Li, Jian ;
Li, Gang ;
Cui, Xinan .
ARTIFICIAL INTELLIGENCE AND SECURITY, ICAIS 2022, PT III, 2022, 13340 :349-362
[35]   Research on threat intelligence extraction and knowledge graph construction technology [J].
Shi H. ;
Wei J. ;
Cai X. ;
Wang H. ;
Gao S. ;
Zhang Y. .
Xi'an Dianzi Keji Daxue Xuebao/Journal of Xidian University, 2023, 50 (04) :65-75
[36]   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
[37]   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)
[38]   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
[39]   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,
[40]   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)