首页> 外国专利> Clustering websocket communications with configurable master-slave servers

Clustering websocket communications with configurable master-slave servers

机译:将WebSocket通信与可配置的主从服务器群集在一起

摘要

Embodiments provide clustering of websocket communications with configurable master-slave servers. A centralized document service accessible to each server functions as a repository for cluster server information, cluster master server IP address, and security information. Upon receiving a first input, a server references the document service to create a first websocket handler as the master (e.g., utilizing a flag). Upon receiving a second input, a different server references the document service to create a slave websocket handler. Using master server IP address information from the document service, the slave websocket handler establishes a websocket cluster channel with the master websocket handler. Additional websocket channels with the master websocket hander may be established as further inputs are received and slave websocket handlers created. Allowing configuration as masters or slaves on a per-cluster basis, allows servers to function in dual roles, avoiding the bottleneck of requiring a same master server for all clusters.
机译:实施例提供与可配置的主从服务器的websocket通信的集群。每个服务器可访问的集中式文档服务充当群集服务器信息,群集主服务器IP地址和安全性信息的存储库。在接收到第一输入时,服务器引用文档服务以创建第一websocket处理程序作为主服务器(例如,利用标志)。收到第二个输入后,其他服务器将参考文档服务以创建从属Websocket处理程序。使用来自文档服务的主服务器IP地址信息,从属Websocket处理程序与主Websocket处理程序建立一个Websocket群集通道。当接收到更多输入并创建从属websocket处理程序时,可以使用主websocket处理程序建立其他websocket通道。允许在每个群集的基础上配置为主服务器或从属服务器,从而允许服务器以双重角色运行,从而避免了为所有群集都要求使用同一主服务器的瓶颈。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号