node.jsbenchmarkingwebsocketsocket.io

How can I benchmark a websocket-based Node.js application?


I am testing the scalability of a websockets application I wrote using socket.io and Node.js. I want to stress test and benchmark the performance. What are some tools I can use?

So far I've looked into wsbench but I'd like to explore any alternatives.


Solution

  • There's a very simple Socket.IO client implementation for Node.js. It's not an actual benchmarking tool, but it does know about Socket.IO's protocol.

    Using that, it's fairly easy to write a client that interacts with your application.