摘要
针对现有的传统单体式中医信息服务系统进行研究分析,发现传统式的单体式中医信息服务系统应用在稳定性、可扩展性、开发测试及维护人员之间的协调方面存在不足,设计了一种面向微服务的中医信息服务系统的设计方法,按照微服务架构组件化设计方法,将系统按照核心功能划分为一个个微服务,并为每个微服务进行独立的部署。本系统运用Spring Cloud框架来构架基于微服务的TCMIS系统,运用Spring Cloud中Eureka、Zuul、Ribbon、Hystrix等组件对传统的TCMIS系统进行重新设计,采用前后端分离的设计方法,使开发人员、测试人员和维护人员更加便捷的协调工作,通过采用微服务架构对TCMIS系统重构,结果为重构后的TCMIS系统响应速度和可扩展性大幅度提升,方便维护人员对其进行更好的管理,解决传统单体式架构在扩展功能时遇到的困难。结果表明采用微服务架构的设计方法,TCMIS系统在重构后的服务调用平均时延在400 ms左右,服务数据的提交平均时延在200 ms左右,并且扩展功能更为便利,对比传统单体式架构得到了巨大的提升。
Based on the research and analysis of the traditional monolithic TCM information service system,it is found that the traditional monolithic TCM information service system has some shortcomings in stability,scalability,development and testing,and coordination among maintenance personnel.A design method of the TCM information service system oriented to micro-service is designed.According to the component design method of micro-service architecture,the system is divided into micro-services according to the core functions,and each micro-service is deployed independently.This system uses Spring Cloud framework to construct TCMIS system based on micro-service.Eureka,Zuul,Ribbon,Hystrix and other components in Spring Cloud are used to redesign the traditional TCMIS system.The front-end and back-end separation design method is adopted to facilitate the coordination of developers,testers and maintainers.After reconstructing TCMIS system with micro-service architecture,the result is that the response speed and scalability of reconstructed TCMIS system are greatly improved,which facilitates maintenance personnel to better manage it,and solves the difficulties encountered by traditional monolithic architecture in expanding its functions.The results show that the average time delay of service invocation in reconstructed TCMIS system is about 400 ms,the average time delay of service data submission is about 200 ms,and the expansion function is more convenient.Compared with traditional single architecture,TCMIS system has been greatly improved.
作者
张开琦
刘晓燕
王信
吉春山
严馨
Zhang Kaiqi;Liu Xiaoyan;Wang Xin;Ji Chunshan;Yan Xin(Faculty of InformationEngineeringand Automation,Kunming University of Science and Technology,Kunming 650500,China;Jinchuan Nickel Drill Research and Design Institute,Jinchang 737110,China)
出处
《电子测量技术》
2020年第3期1-5,共5页
Electronic Measurement Technology
基金
国家自然科学基金(61462055)资助。