Jisuanji kexue (Dec 2021)

Method of Service Decomposition Based on Microservice Architecture

  • JIANG Zheng, WANG Jun-li, CAO Rui-hao, YAN Chun-gang

DOI
https://doi.org/10.11896/jsjkx.210500078
Journal volume & issue
Vol. 48, no. 12
pp. 17 – 23

Abstract

Read online

The microservice decomposition of the monolithic system can effectively alleviate the problems of system redundancy and difficulty in maintenance of the monolithic architecture.However,the existing microservice decomposition methods fail to make full use of the attribute information of the microservice architecture,which leads to the low rationality of service decomposition results.This paper proposes a service decomposition method based on microservice architecture.The method constructs an entity-attribute relationship graph through the association information of system services and attributes.Then the service decomposition rules are formulated by combining the feature information of the microservice architecture with the demand information of the target system,the association information between the two types of vertices is quantified,and a weighted entity-attribute graph is generated.Finally,the weighted GN algorithm is applied to realize the microservice decomposition of the system automatically.The experimental results show that the method greatly improves the timeliness of service decomposition,and the gene-rated microservice decomposition scheme performs better in terms of various evaluation metrics.

Keywords