Microservice extraction based on knowledge graph from monolithic applications

被引:11
|
作者
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; SERVICE; ARCHITECTURES; FRAMEWORK; ALGORITHM;
D O I
10.1016/j.infsof.2022.106992
中图分类号
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] Biomedical Relation Extraction With Knowledge Graph-Based Recommendations
    Sousa, Diana
    Couto, Francisco M.
    IEEE JOURNAL OF BIOMEDICAL AND HEALTH INFORMATICS, 2022, 26 (08) : 4207 - 4217
  • [22] Rule-based Text Extraction for Multimodal Knowledge Graph
    Norabid, Idza Aisara
    Fauzi, Fariza
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2022, 13 (05) : 295 - 304
  • [23] A Graph-Based Keyword Extraction Method for Academic Literature Knowledge Graph Construction
    Zhang, Lin
    Li, Yanan
    Li, Qinru
    MATHEMATICS, 2024, 12 (09)
  • [24] Information extraction and knowledge graph construction from geoscience literature
    Wang, Chengbin
    Ma, Xiaogang
    Chen, Jianguo
    Chen, Jingwen
    COMPUTERS & GEOSCIENCES, 2018, 112 : 112 - 120
  • [25] Semantic role labeling for knowledge graph extraction from text
    Mehwish Alam
    Aldo Gangemi
    Valentina Presutti
    Diego Reforgiato Recupero
    Progress in Artificial Intelligence, 2021, 10 : 309 - 320
  • [26] Semantic role labeling for knowledge graph extraction from text
    Alam, Mehwish
    Gangemi, Aldo
    Presutti, Valentina
    Reforgiato Recupero, Diego
    PROGRESS IN ARTIFICIAL INTELLIGENCE, 2021, 10 (03) : 309 - 320
  • [27] No More Data Silos: Unified Microservice Failure Diagnosis With Temporal Knowledge Graph
    Zhang, Shenglin
    Zhao, Yongxin
    Xia, Sibo
    Wei, Shirui
    Sun, Yongqian
    Zhao, Chenyu
    Ma, Shiyu
    Kuang, Junhua
    Zhu, Bolin
    Pan, Lemeng
    Guo, Yicheng
    Pei, Dan
    IEEE TRANSACTIONS ON SERVICES COMPUTING, 2024, 17 (06) : 4013 - 4026
  • [28] Advanced Mathematics Exercise Recommendation Based on Automatic Knowledge Extraction and Multilayer Knowledge Graph
    Dong, Shi
    Tao, Xueyun
    Zhong, Rui
    Wang, Zhifeng
    Zuo, Mingzhang
    Sun, Jianwen
    IEEE TRANSACTIONS ON LEARNING TECHNOLOGIES, 2024, 17 : 776 - 793
  • [29] Systematic knowledge modeling and extraction methods for manufacturing process planning based on knowledge graph
    Wen, Peihan
    Ma, Yan
    Wang, Ruiquan
    ADVANCED ENGINEERING INFORMATICS, 2023, 58
  • [30] Knowledge extraction and knowledge graph construction for conceptual product design based on joint learning
    Huang Y.
    Yu S.
    Chu J.
    Su Z.
    Wang H.
    Cong Y.
    Fan H.
    Jisuanji Jicheng Zhizao Xitong/Computer Integrated Manufacturing Systems, CIMS, 2023, 29 (07): : 2313 - 2326