Re: Simultaneous connections

Philip Hallstrom
Wed, 19 Sep 2007 20:55:04 -0000

> How to have +1,000 simultaneous clients connected to a single machine
> running Rails?

Do you really have 1000 simultaneous clients?  Or do you have 1000
requests per second?  They are very different things...

> Rails can not service more than ~40 simultaneous (open) connections on
> the same box.

Add more servers... put behind a load balancer... until you can support
the load you need.

I would guess that a 1,000 simultaenous clients is gonna be harder on your
database than on your webserver though so keep that in mind as well.