Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guess 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


Also 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.


Yes 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: