Microservice architecture (MSA) has become the de facto standard for designing cloud-native enterprise applications due to its efficient infrastructure setup, high service availability, and elastic scalability. It is a challenging task for enterprises to decompose monolithic applications into microservice architectures. Existing microservice extraction methods overlook database table relationship, leading to excessive database table synchronization between extracted microservices and imbalanced microservice architecture performance. This paper proposes CSMO, a Cross-Supervision Method for Microservice Optimization through Decentralized Data Management, aimed at refining existing microservice extraction methods. CSMO constructs three types of interclass relationship view for monolithic applications, including the interclass call relationship view, the inter-class database table relationship view, and the inter-class business association relationship view, to guide the optimization of existing microservice extraction results. Comparative experiments have been conducted on two monolithic applications against four methods. The results demonstrate that CSMO significantly outperforms the baseline methods in all aspects, particularly reducing the frequency of database table synchronization by an average of 51% after optimization.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

CSMO: The Cross-Supervision Method for Microservice Optimization through Decentralized Data Management

  • Suxiang Wu,
  • Ying Li,
  • Xinzhou Zhu,
  • Meng Xi,
  • Jianwei Yin

摘要

Microservice architecture (MSA) has become the de facto standard for designing cloud-native enterprise applications due to its efficient infrastructure setup, high service availability, and elastic scalability. It is a challenging task for enterprises to decompose monolithic applications into microservice architectures. Existing microservice extraction methods overlook database table relationship, leading to excessive database table synchronization between extracted microservices and imbalanced microservice architecture performance. This paper proposes CSMO, a Cross-Supervision Method for Microservice Optimization through Decentralized Data Management, aimed at refining existing microservice extraction methods. CSMO constructs three types of interclass relationship view for monolithic applications, including the interclass call relationship view, the inter-class database table relationship view, and the inter-class business association relationship view, to guide the optimization of existing microservice extraction results. Comparative experiments have been conducted on two monolithic applications against four methods. The results demonstrate that CSMO significantly outperforms the baseline methods in all aspects, particularly reducing the frequency of database table synchronization by an average of 51% after optimization.