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 条
  • [1] Microservice extraction based on knowledge graph from monolithic applications
    Li, Zhiding
    Shang, Chenqi
    Wu, Jianjie
    Li, Yuan
    INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 150
  • [2] From monolithic to microservice architecture: an automated approach based on graph clustering and combinatorial optimization
    Filippone, Gianluca
    Mehmood, Nadeem Qaisar
    Autili, Marco
    Rossi, Fabrizio
    Tivoli, Massimo
    2023 IEEE 20TH INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE, ICSA, 2023, : 47 - 57
  • [3] A Survey on Graph Neural Networks for Microservice-Based Cloud Applications
    Nguyen, Hoa Xuan
    Zhu, Shaoshu
    Liu, Mingming
    SENSORS, 2022, 22 (23)
  • [4] Microservice extraction using graph deep clustering based on dual view fusion
    Qian, Lifeng
    Li, Jing
    He, Xudong
    Gu, Rongbin
    Shao, Jiawei
    Lu, Yuqi
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 158
  • [5] Knowledge Extraction from Graph-Based Structures in Conceptual Design
    Slusarczyk, Grazyna
    PROCEEDINGS OF THE 8TH INTERNATIONAL CONFERENCE ON COMPUTER RECOGNITION SYSTEMS CORES 2013, 2013, 226 : 31 - 40
  • [6] Evaluating the Monolithic and the Microservice Architecture Pattern to Deploy Web Applications in the Cloud
    Villamizar, Mario
    Garces, Oscar
    Castro, Harold
    Verano, Mauricio
    Salamanca, Lorena
    Casallas, Rubby
    Gil, Santiago
    2015 10TH COMPUTING COLOMBIAN CONFERENCE (10CCC), 2015, : 583 - 590
  • [7] Entity Relationship Extraction from Rice Phenotype Knowledge Graph Based on BERT
    Yuan P.
    Li R.
    Wang C.
    Xu H.
    Nongye Jixie Xuebao/Transactions of the Chinese Society for Agricultural Machinery, 2021, 52 (05): : 151 - 158
  • [8] Graph Based Liability Analysis for the Microservice Architecture
    Kalinagac, Onur
    Soussi, Wissem
    Gur, Gurkan
    2022 18TH INTERNATIONAL CONFERENCE ON NETWORK AND SERVICE MANAGEMENT (CNSM 2022): INTELLIGENT MANAGEMENT OF DISRUPTIVE NETWORK TECHNOLOGIES AND SERVICES, 2022, : 364 - 366
  • [9] Graph-Based IoT Microservice Security
    Pahl, Marc-Oliver
    Aubet, Francois-Xavier
    Liebald, Stefan
    NOMS 2018 - 2018 IEEE/IFIP NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM, 2018,
  • [10] Extracting microservices from monolithic applications using consistent graph enhanced Graph Transformer
    Wei, Xueyin
    Li, Jing
    He, Xudong
    Peng, Weizhou
    Zhu, Ying
    Gu, Rongbin
    Zhu, Yunlong
    Huang, Jun
    JOURNAL OF SYSTEMS AND SOFTWARE, 2025, 222