检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]浙江中控技术股份有限公司,浙江杭州310053
出 处:《工业控制计算机》2022年第12期57-58,共2页Industrial Control Computer
摘 要:在B/S架构下,为解决工业控制系统服务器的集群化设计需求,介绍了一种基于WebSocket、Nginx、RabitMQ的负载均衡方案。前端软件与后端任一服务实例建立WebSocket长连接,该服务实例接收到请求后,通过RabbitMQ与集群中各服务实例交互,将请求派送到具体的服务实例处理,最后将处理结果返回至前端软件。该设计方案可满足前后端以WebSocket为长连接的情况下,后端服务的集群化设计需求。Under the B/S architecture,in order to meet the cluster design requirements of industrial control system servers,this paper introduces a load balancing scheme based on WebSocket,Nginx and RabitMQ.The front-end software establishes a long WebSocket connection with any back-end service instance.When the service instance receives the request,it interacts with each service instance in the cluster through rabbitmq,sends the request to the specific service instance for processing,and finally returns the processing result to the front-end software.Through this design scheme,it can meet the scenario of long WebSocket connection at the front and back ends,cluster design requirements of back-end services.
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.40