Can the socket server hang up like the http server and forward it to the next node?

The

page js uses Websocket to connect to the socket server. If the server dies, can you transfer the request to the next server node like the http load? If so, can js receive the message?

Jul.05,2022

you can implement failover and load balancing in js client code. You can also use haproxy or nginx as the gateway implementation.

Menu