I'm developing a game server currently, to avoid developing the server from scratch, tomcat 7.0 is employed so that I can focus on the game logic.
Base on the requirement, I use websocket to communicate with the clients, but when many clients have connected to the server, new connection can't be established, I doubt the count of established connections has reached the maximum count. By the way, APR connector is used by tomcat.
So, my questions are:
- What's the maximum count of active websocket connections supported by tomcat 7.0.
- How to configure it.
- Is there any solution to load balancing of websocket, because apache and mod_jk can't be used for load balancing now.
Any help will be appreciated, thanks in advance!