首页 | 本学科首页   官方微博 | 高级检索  
     

四川省气象预警决策发布系统负载均衡实现与性能优化
引用本文:淡嘉. 四川省气象预警决策发布系统负载均衡实现与性能优化[J]. 中低纬山地气象, 2021, 45(6): 107-111
作者姓名:淡嘉
作者单位:四川省气象服务中心,四川 成都 610072
摘    要:基于四川省气象预警决策发布系统原有架构进行升级,在没有新增服务器和网络设备的情况下,通过Nginx服务实现Web应用层的负载均衡,减轻网站应对高并发访问的压力。新增两个Redis数据缓存服务分别减轻数据库读取压力和提高网关读取海量任务数据的效率。新增消息队列组件实现发布任务至网关模块间的负载均衡和复杂模块的解耦,确保异常中断后的任务恢复。此次升级从软件层面以最小成本实现系统的性能优化,避免因为高并发阻塞导致的业务中断。升级后压力测试和实际应用情况表明,系统运行稳定,实现了负载均衡和性能优化的目标。

关 键 词:负载均衡  Redis  消息队列  预警决策
收稿时间:2021-03-09
修稿时间:2021-08-05

Load Balancing and Performance Optimization of Sichuan Meteorological Early Warning and Decision-making Publishing System
dan jia. Load Balancing and Performance Optimization of Sichuan Meteorological Early Warning and Decision-making Publishing System[J]. Mid-low Latitude Mountain Meteorology, 2021, 45(6): 107-111
Authors:dan jia
Affiliation:Sichuan Meteorological Service Centre
Abstract:Based on the upgrading of Sichuan meteorological early warning and decision-making publishing system, the load balance of web application layer is realized by Nginx service without additional server and network equipment, which reduce the pressure of website to deal with high concurrent access. Two new Redis services, one to reduce the database reading pressure, one to improve the efficiency of gateways reading massive tasks. Two new message queues implement load balancing between publishing tasks and gateway, decoupling from complex module, and to ensure task recovery after exceptional interrupt. This upgrade optimizes the performance of the system at the software level at minimum cost and avoids the interruption caused by high concurrent access. The pressure test and actual running proved that the system runs stably, the goals of load balancing realization and performance optimization is achieved.
Keywords:load balancing   Redis   message queue   early warning and decision-making
本文献已被 万方数据 等数据库收录!
点击此处可从《中低纬山地气象》浏览原始摘要信息
点击此处可从《中低纬山地气象》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号