I want to benchmark my socket.io server. I want to test how many parallel connections and messages the server can handle.
But my socket.io server crash after some minut
I didn't benchmark Socket.IO myself, but I know of 2 good resources that might help you, so check them out:
You may check Akinji
It opens concurrent sockets to server and listens given message and print them
http://github.com/sonsuzdongu/akinji
python akinji.py -c 100 --host localhost --port 3000 --waitFor 100 --on "some msg"
I benchmarked Socket.IO and SockJS server implementations.
Here are the results
Test suite
Written in Java, supports 3 transports: Socket.IO 0.7+, SockJS 0.2+, raw Websockets. There's no compiled binary, but you can get Eclipse to compile it or just use command-line javac.