Distributed deployment method for browser instant messaging service
A distributed, browser-based technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as large to-do information, users cannot normally receive to-do notifications, and message processing modules cannot bear it, so as to improve processing effect of ability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0013] See figure 1 , a browser instant messaging service distributed deployment method,
[0014] Deploy nginx proxy redis publish and subscribe through websocket cluster, use nginx as a unified proxy, load balance to each server node, and use redis publish and subscribe to communicate with each websocket node to achieve high availability and the ability to quickly process pending information;
[0015] The user's websocket connection is load-balanced to different servers. When there are enough server nodes, it can accept more users' websocket request connection, so that more users can be online at the same time, and it will not go down during the busy period; because the websocket server The challenge that comes after distributed deployment is that instant messaging is affected. When user A is connected to the SA server node and needs to send a message to user B at the SB server node, it cannot be sent; using redis publish and subscribe is a good solution This issue enables t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
