I am building a complex HTML 5 application that takes advantage of Websockets. I am getting to the point where I have a lot of different types of data that gets updated in real time on the screen. 

I want to know if it is going to be better for me to have fewer Websockets that are more complex, or a lot of simple Websockets open per page. 

I added <http://github.com/TooTallNate/Java-WebSocket> web socket server to my Grails Application. 

Right now I am going down the path of using a lot of simple web sockets for each task. I know using more sockets will use more memory on the server side but also more sockets means more concurrent processing. 

Does anyone have any advice on how I can balance this.

Thanks for any tips in advance. Keith Blanchard