Re: Simultaneous connections

Dorren
Wed, 19 Sep 2007 17:23:58 -0000

On Sep 19, 1:15 pm, Jon
<jonas....-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
wrote:
> How to have +1,000 simultaneous clients connected to a single machine
> running Rails?
>
> Rails can not service more than ~40 simultaneous (open) connections on
> the same box.

I don''t think that''s possible, say each mongrel process
consumers 50MB
memory, then 20 mongrel process takes 1 GB. even if you have 16GB
memory, one box can serve at most 320 mongrel at same time.

1000 concurrent clients is very high traffic. you definitely need more
than one box to handle that much amount of traffic.

Dorren