I have written a rails application that runs very well (that’s so good
This application serves up file downloads for about 150 users.
These downloads are protected by some authorization rules, precedence
and so on (not public downloads…).
Well, I have setup 10 fatcgi processes (I’m planning to setup 10
cluster with mod_proxy).
When 10 concurrent users are downloading files, the other 140 must wait
a free rail process.
Now my question is: what is the best way to scale this application ? I
cannot have 150 processes or 150 mongrels of about 100Mb each (total =
15.000 Mb => 15 Gb ram…) to handle 150 concurrent users…
Does anyone know how to handle this ?
Thanks in advance…