科技创新与应用2025,Vol.15Issue(12):15-19,5.DOI:10.19981/j.CN23-1581/G3.2025.12.004
基于运行时特征的单体系统微服务拆分方法研究
摘要
Abstract
Benefiting from the advantages offered by microservice architecture,many development teams in the industry have gradually migrated from monolithic to microservice-based architectures.However,current research on microservice decomposition methods faces challenges such as reliance on manual expertise and the lack of consideration for dynamic runtime characteristics of the software.To address these issues,we propose a microservice decomposition method based on runtime features.The algorithm adopts a two-phase decomposition strategy,primarily using dynamic data with static data as a supplement,ensuring clear data-level boundaries.The data is integrated at the algorithmic level.Hierarchical clustering is performed on both the static call matrix and the dynamic call relationship matrix,and the two matrices are then fused.A spectral clustering algorithm is used to obtain a set of functional atoms,which are subsequently divided using the NSGA-Ⅱ algorithm to produce the final microservice decomposition plan.The experimental results show that the proposed method can effectively improve the quality of microservice splitting,and the splitting results obtained are more reasonable and reliable.关键词
微服务拆分/软件架构迁移/微服务架构/软件系统/内部特征Key words
microservice splitting/software architecture migration/microservice architecture/software system/internal characteristics分类
信息技术与安全科学引用本文复制引用
沈瑞娜,陈璟,王春生,赵迎泽,张鹏..基于运行时特征的单体系统微服务拆分方法研究[J].科技创新与应用,2025,15(12):15-19,5.基金项目
国防科技173计划(2022-JCJQ-JJ-0581) (2022-JCJQ-JJ-0581)
陕西省重点研发计划(S2023-YF-YBGY-0279) (S2023-YF-YBGY-0279)