Dusty-

        I usually turn off the mutex and use evented mongrel. gem install  
swiftiply then when you start merb:

EVENT=1 merb -X off

Cheers-
-Ezra

On Nov 7, 2007, at 7:05 AM, Dusty Doris wrote:

> Just a quick question to those of you using merb and sequel or
> datamapper.  How do you setup your merb app?
>
> For example:
>
> merb -X off -c 5, then run mod_proxy_balancer or nginx to load balance
> between the 5 (or whatever #) of merb nodes?
>
> merb -X off -d, then simply use something like proxypass
>
> merb -c 5, keep the mutex lock and cluster it
>
> haproxy, swiftiply, evented mongrel......
>
>
> What I'm curious about is if you are using sequel, do you typically
> remove those mutex locks?  If so, is there a benefit still in running
> a clustered mongrel setup?  Just curious to how others are setting up
> their applications.  Right now I'm removing the mutex lock and setting
> up a cluster of 5 behind proxy_balancer and its working great.
> However, I was just curious to what others are doing.
>
> Thanks.  Its looking great.  I especially love the new provides :xml,
> :text, ... in the responder.  Really nice idea.
>
> -Dusty Doris
> _______________________________________________
> Merb-devel mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/merb-devel

Ezra Zygmuntowicz
Founder & Ruby Hacker
[EMAIL PROTECTED]
EngineYard.com


_______________________________________________
Merb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/merb-devel

Reply via email to