I just browsed through your code and noticed that you don't spawn more than one process and that you basically just slow down clients, instead of scaling up the application on high loads.
socket.io scales pretty good. I used the redis adapter and the node.js' built in cluster module in the past. It's pretty simple actually.
Check: http://socket.io/docs/using-multiple-nodes/
I just browsed through your code and noticed that you don't spawn more than one process and that you basically just slow down clients, instead of scaling up the application on high loads.
socket.io scales pretty good. I used the redis adapter and the node.js' built in cluster module in the past. It's pretty simple actually.
Check: http://socket.io/docs/using-multiple-nodes/