Hacker News new | ask | show | jobs
by swsieber 2997 days ago
Theoretically, they could get away with just one: http://phoenixframework.org/blog/the-road-to-2-million-webso...

That said, it depends on the stack, the level of optimizations and how much each websocket requires...

I'd love to know too though (both the # of servers and the other details)

1 comments

Yup, I switched to phoenix lately. Works as advertised. I didn't even mess much with any kernel options. I still have most of my stack on ruby (on rails), but I bridge more and more things with elixir app (and phoenix), mostly using redis queues. As mentioned just 2 boxes are doing ws pushing currently, they also serve the app, one additional server also serving app but mostly static files, DB server, DB-slave and the app logic (which in my case is mostly fetching data and calculating some stats).

Unfortunately, even though there are some fallbacks and it seems to be pretty reliable, these servers are pets rather than cattle.