• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2021, Vol. 43 ›› Issue (10): 1781-1788.

Previous Articles     Next Articles

Design and implementation of a change event driven microservice composition platform

WANG Xin,LIU Xiao-yan,ZHANG Kai-qi,WANG Xing,YAN Xin   

  1. (Faculty of Information Engineering and Automation,Kunming University of Science and Technology,Kunming 650050,China)
  • Received:2020-07-14 Revised:2020-11-28 Accepted:2021-10-25 Online:2021-10-25 Published:2021-10-22

Abstract: The field of microservice composition is still in its immature stage and needs a more complete solution. Therefore, a microservice composition platform based on change events is designed. Compared with the existing solutions, the platform supports fine-grained data access control at the domain-specific language level and further enriches the language expression. The Spring Cloud Netflix ecosystem is introduced to solve the problem that the microservices in the platform cannot be deployed dynamically and improve the robustness. For the events that trigger the composition of the microservices, the change detection of Web resources is added. That it, the content and structure of the XML document are compared, and the existing comparison method at the content level of the XML document is optimized, and the similarity measure of content and structure is comprehensively considered. The experimental results show that the microservice composition platform is more complete and rich, with emphasis on privacy protection, and stronger fault tolerance, and improves the algorithm time efficiency.



Key words: microservice composition, domain specific language, access control, compiler, runtime system, similarity