How to keep socket session opened when one of the web-server fails?

98 views
Skip to first unread message

MechSyQ

unread,
Sep 8, 2018, 12:27:23 PM9/8/18
to mechanical-sympathy

In our system, our clients are connected to our web-servers via a load balancer. They open web-socket connection and authenticate against a single web server instance. It is very important for a connection to be super-fast. Now, if one of web-server is down, currently, our client should re-login to the system and connect to another web-server instance. We want to handle fail-over automatically without re-connection for our clients. How can we achieve that without breaking WebSocket connection? Can we do something on the load balancer level which will keep a connection with a client open and re-connect with a web-server instance? Do we have any other options?


Martin Thompson

unread,
Sep 8, 2018, 12:35:34 PM9/8/18
to mechanical-sympathy
Again is there a mechanical sympathy question in this?
Reply all
Reply to author
Forward
0 new messages