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 条
  • [41] Millitary Knowledge Graph Construction Based on Universal Information Extraction Models
    Miao Yongfei
    Zhang Yihang
    Wang Li
    Song Xiaoxue
    Song Yuze
    Tang Zekun
    2024 10TH INTERNATIONAL CONFERENCE ON BIG DATA AND INFORMATION ANALYTICS, BIGDIA 2024, 2024, : 877 - 881
  • [42] A Method for Judicial Case Knowledge Graph Construction Based on Event Extraction
    Zhao, Bang
    Zhao, Yilong
    Mao, Ying
    PROCEEDINGS OF THE 2024 9TH INTERNATIONAL CONFERENCE ON INTELLIGENT INFORMATION TECHNOLOGY, ICIIT 2024, 2024, : 62 - 69
  • [43] Relation Extraction for Knowledge Graph of Dangerous Goods Based on Distributed Representation
    Huo, Jiaxin
    Wang, Tao
    Liu, Zhong
    Huang, Shiru
    2017 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2017, : 194 - 199
  • [44] DeepKG: an end-to-end deep learning-based workflow for biomedical knowledge graph extraction, optimization and applications
    Li, Zongren
    Zhong, Qin
    Yang, Jing
    Duan, Yongjie
    Wang, Wenjun
    Wu, Chengkun
    He, Kunlun
    BIOINFORMATICS, 2022, 38 (05) : 1477 - 1479
  • [45] Explanation Knowledge Graph Construction Through Causality Extraction from Texts
    Pechsiri, Chaveevan
    Piriyakul, Rapepun
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2010, 25 (05) : 1055 - 1070
  • [46] Cost comparison of running web applications in the cloud using monolithic, microservice, and AWS Lambda architectures
    Villamizar M.
    Garcés O.
    Ochoa L.
    Castro H.
    Salamanca L.
    Verano M.
    Casallas R.
    Gil S.
    Valencia C.
    Zambrano A.
    Lang M.
    Service Oriented Computing and Applications, 2017, 11 (2) : 233 - 247
  • [47] Explanation Knowledge Graph Construction Through Causality Extraction from Texts
    Chaveevan Pechsiri
    Rapepun Piriyakul
    Journal of Computer Science and Technology, 2010, 25 : 1055 - 1070
  • [48] Explanation Knowledge Graph Construction Through Causality Extraction from Texts
    Chaveevan Pechsiri
    Rapepun Piriyakul
    Journal of Computer Science & Technology, 2010, 25 (05) : 1055 - 1070
  • [49] The construction of shield machine fault diagnosis knowledge graph based on joint knowledge extraction model
    Wei, Wei
    Jiang, Chuan
    JOURNAL OF ENGINEERING DESIGN, 2025, 36 (03) : 355 - 374
  • [50] Robotics Classification of Domain Knowledge Based on a Knowledge Graph for Home Service Robot Applications
    Wang, Yiqun
    Yao, Rihui
    Zhao, Keqing
    Wu, Peiliang
    Chen, Wenbai
    APPLIED SCIENCES-BASEL, 2024, 14 (24):