Reputation: 25233
I have a Node.js app on Heroku that uses socket.io. I got Heroku to work with socket.io using long-polling. Then I recently added the WebSocket module to heroku and got socket.io working with WebSockets.
My question is, how can I measure the maximum number of connections the Heroku instance is able to have simultaneously before it thrashes or decreases in performance.
Upvotes: 1
Views: 823
Reputation: 165340
You'll need to have two things in place:
After that it's just about running your test scenario and tweaking until you're satisfied with your memory and load limits.
Upvotes: 1