摘要
提出一种基于微服务的系统架构方法以解决企业向新零售转型过程中原有信息系统架构需要重塑的问题。采用Spring Cloud设计了一套全局的微服务协调治理框架;对于标准Spring Cloud框架在实际应用中存在的缺陷和不足,在服务治理、服务间请求认证、服务配置等核心环节自主研发设计了解决方案;将该微服务框架在国内某传统企业实施落地,设计了企业新零售系统(NRS)整体架构并完成系统升级。实践表明,采用微服务架构后服务平均响应时间缩短50%,请求错误率降低至0.01%,最大QPS提高至8200,系统整体性能提升显著。
A microservices-based system architecture approach is proposed to solve the problem of reinventing the existing information system architecture during the transformation of enterprises to new retailing. Firstly, a global microservice coordination and governance framework is designed using Spring Cloud. Then, for the defects and shortcomings of the standard Spring Cloud framework in practical applications, a solution in the core aspects of service governance, inter-service request authentication and service configuration is developed and designed independently. Finally, the microservice framework is implemented in a traditional enterprise in China, and the overall architecture of the enterprise’s new retail system(NRS) is designed and upgraded. The implementation showed that the average response time is reduced by 50%, the request error rate is reduced to 0.01%, the maximum QPS is increased to 8200, and the overall performance of the system is improved significantly.
作者
李俊
江海
Li Jun;Jiang Hai(Information Department,Sinopec Guangdong Branch,Guangzhou,Guangdong 510000,China)
出处
《计算机时代》
2023年第3期106-110,115,共6页
Computer Era