Re: Simultaneous connections

Jon
Wed, 19 Sep 2007 18:21:06 -0000

I''m supposed that it''s because a process cann''t have
multiple threads.

On 19 sep, 18:23, Dorren
<dorrenc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> 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.
>
> Dorrenhttp://groups.wuyasea.com/profile/dorren