We do it based on the URL. We know from the URL which controller we  
expect the resource to land on, so using the url and the method, nginx  
can redirect the request to a particular mongrel group.

Cheers

Dave

On 29/10/2007, at 12:39 AM, Andrei Maxim wrote:

> Hi Dave,
>
> On 10/28/07, Dave Cheney <[EMAIL PROTECTED]> wrote:
>> We've also found it beneficial to partition parts of the mongrel
>> cluster into separate functional groups. For example we run 3 sets of
>> mongrels.
>
> I'm still learning a lot in terms of system administration and
> deployment for Ruby on Rails applications, however I'm puzzled how you
> could divide the mongrels in 3 sets based on function (dynamic pages,
> thumbnails and image uploads).
>
> Could you please shed some light?
>
> -- 
> Andrei Maxim
> http://andreimaxim.ro
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users

_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to