I'd like to load balance websocket request wss if possible using nodejs. As far as I know, I need to check all wss requests from the unique load balancer server (single failure point) with nodejs , then choose the appropriate network depending on location geoip and the first available server in the network depending its activity.
Is it the right way to proceed for geo load balancing ?
Is there a npm module(s) to do something like this ?
If not, I'd like to know if the wss request has to be redirected to the url of the chosen server, so the load balancer won't be hit the other times or is there other features to tell the wss requester to use the chosen server ? ( I'm a newby in load balancing)
Thanks in advance for your help.