3 ms·
> and they seem to be a perfect fit Needs a fairly capable server though, I suppose. One that can handle lots and lots of open websocket connections.
by azangru 6y ago
> and they seem to be a perfect fit
Needs a fairly capable server though, I suppose. One that can handle lots and lots of open websocket connections.
- IggleSniggle 6y agoGuess it really depends on how many concurrent users you expect to have... Sounds like 30 GiB RAM for 1 million concurrent users is not unreasonable: https://stackoverflow.com/a/17453704 https://stackoverflow.com/a/17453704
- joshxyz 6y agoYes that's some genuine concern. Though on B2B and B2C SaaS where you got paying users, I think each of them deserve a websocket, and it could* alleviate some headaches for developers. * Anecdotal of course, at least for us.
- e_y_ 6y agoAlso your load balancer stack needs to support it, which is becoming less of a problem these days but there's still some stragglers. You could also end up with an imbalance where some servers have a lot of connections and others have few.