摘要
微服务组合领域尚处于未成熟阶段,需要更完善的解决方案,因此设计了一个基于变更事件驱动的微服务组合平台。该平台相比现有的解决方案,在领域特定语言层面上支持细粒度数据访问控制,并进一步丰富了语言表现力。引入Spring Cloud Netflix生态系统,解决平台中微服务不能动态部署的问题,提高了健壮性。对于触发微服务组合的事件,增加了对Web资源的变更检测,即对XML文档的内容和结构2个层面的比较,并对现有的XML文档内容层面的比较方法进行优化,综合考虑了内容和结构的相似度度量。实验结果表明,该微服务组合平台更加完善、丰富,注重私隐保护,容错性更强,在算法时间效率上亦有提升。
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.
作者
王信
刘晓燕
张开琦
王星
严馨
WANG Xin;LIU Xiao-yan;ZHANG Kai-qi;WANG Xing;YAN Xin(Faculty of Information Engineering and Automation,Kunming University of Science and Technology,Kunming 650050,China)
出处
《计算机工程与科学》
CSCD
北大核心
2021年第10期1781-1788,共8页
Computer Engineering & Science
基金
国家自然科学基金(61462055)。
关键词
微服务组合
领域特定语言
访问控制
编译器
运行时系统
相似度
microservice composition
domain specific language
access control
compiler
runtime system
similarity