Reputation: 6320
I have looked around a bit on websockets, and I have a pretty concrete question: Can websockets actually be scaled over different servers, or are they always limited to one single server?
It seems that this is an issue I've repeatedly bumped into in the docs I have found, but maybe they were incomplete or things evolved. It seems for example as heroku even doesn't support websockets at all(?)
Upvotes: 8
Views: 7576
Reputation: 2760
It depends on your application, but in general, there is no reason you can't load balance websocket connections to multiple machines in the same way as any other TCP connection.
Upvotes: 3