[Mongrel] load balancers and mongrel

Dave Cheney dave at cheney.net
Sun Oct 28 09:51:18 EDT 2007


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 <dave at cheney.net> 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 at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users



More information about the Mongrel-users mailing list