Skip to content

Comment on Why Rails 4 Live Streaming is a Big Dealparent

Comments

> total number of clients = total number of workers, since each client permanently ties up a connection forever

Totally up to your application server. Actual formula is number of clients = total number of threads. It is up to app server to handle parallel requests.

> Actual formula is number of clients = total number of threads.

That's what I said/meant by "worker", whether it's a thread or process does not matter, it pretty much has to be an OS-level concurrency primitive.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.