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 条
  • [31] Intelligent Microservice Based on Blockchain for Healthcare Applications
    Jamil, Faisal
    Qayyum, Faiza
    Alhelaly, Soha
    Javed, Farjeel
    Muthanna, Ammar
    CMC-COMPUTERS MATERIALS & CONTINUA, 2021, 69 (02): : 2513 - 2530
  • [32] Transparent Tracing of Microservice-based Applications
    Santana, Matheus
    Sampaio, Adalberto, Jr.
    Andrade, Marcos
    Rosa, Nelson S.
    SAC '19: PROCEEDINGS OF THE 34TH ACM/SIGAPP SYMPOSIUM ON APPLIED COMPUTING, 2019, : 1252 - 1259
  • [33] Knowledge Extraction via Decentralized Knowledge Graph Aggregation
    Nordsieck, Richard
    Heider, Michael
    Winschel, Anton
    Haehner, Joerg
    2021 IEEE 15TH INTERNATIONAL CONFERENCE ON SEMANTIC COMPUTING (ICSC 2021), 2021, : 92 - 99
  • [34] Automatic Performance Simulation for Microservice Based Applications
    Sun, Yao
    Meng, Lun
    Liu, Peng
    Zhang, Yan
    Chan, Haopeng
    METHODS AND APPLICATIONS FOR MODELING AND SIMULATION OF COMPLEX SYSTEMS, 2018, 946 : 85 - 95
  • [35] Knowledge enhanced graph inference network based entity-relation extraction and knowledge graph construction for industrial domain
    Han, Zhulin
    Wang, Jian
    FRONTIERS OF ENGINEERING MANAGEMENT, 2024, 11 (01) : 143 - 158
  • [36] Interpretable Failure Localization for Microservice Systems Based on Graph Autoencoder
    Sun, Yongqian
    Lin, Zihan
    Shi, Binpeng
    Zhang, Shenglin
    Ma, Shiyu
    Jin, Pengxiang
    Zhong, Zhenyu
    Pan, Lemeng
    Guo, Yicheng
    Pei, Dan
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2025, 34 (02)
  • [37] Knowledge enhanced graph inference network based entity-relation extraction and knowledge graph construction for industrial domain
    Zhulin Han
    Jian Wang
    Frontiers of Engineering Management, 2024, 11 : 143 - 158
  • [38] Panel: Knowledge Graph Industry Applications The First International Workshop on Knowledge Graph Technology and Applications
    Shinavier, Joshua
    Branson, Kim
    Zhang, Wei
    Dastgheib, Shima
    Gao, Yuqing
    Arsintescu, Bogdan
    Ozcan, Fatma
    Meij, Edgar
    COMPANION OF THE WORLD WIDE WEB CONFERENCE (WWW 2019 ), 2019, : 676 - 676
  • [39] Knowledge Graph Information Extraction for Rice Fertilization Based on Improved CASREL
    Zhou J.
    Zheng P.
    Yuan L.
    Ge W.
    Liang J.
    Nongye Jixie Xuebao/Transactions of the Chinese Society for Agricultural Machinery, 2022, 53 (11): : 314 - 322
  • [40] Knowledge Graph of Urban Firefighting with Rule-Based Entity Extraction
    Wang, Xudong
    Nady, Slam
    Zhang, Zixiang
    Zhang, Mingtong
    Wang, Jingrong
    24TH INTERNATIONAL CONFERENCE ON ENGINEERING APPLICATIONS OF NEURAL NETWORKS, EAAAI/EANN 2023, 2023, 1826 : 168 - 177