What are the best practices for managing connections to WebSockets on the server side?

First we need to get a clear understand what [...]