Since web sockets are connection-oriented, if your server is running, then your connection to the web socket is also.
So, for high availability, I think you will need to configure your javascript code to catch connection errors and reconnect / login.
This way you can put multiple Netty servers behind a load balancer.
Hope this helps.
source share