On 5/23/07, Morten <[EMAIL PROTECTED]> wrote:
> I'm thinking of switching to using RubyWorks rather than keep rolling/
> maintaining my own stack. Until now, I've used Apache2 Proxy balancer
> for my mongrel cluster. I see that RubyWorks ships HAProxy instead.
> Anyone care to tell me of the pros/cons using HAProxy?

Cons: yet another process to manage.

Pros: HAProxy (as configured in RubyWorks stack) sends only one
request at a time to any Mongrel in the cluster, thus preventing
requests from piling up on a Mongrel that is stuck for a long time
inside Rails handler. As a side-effect, this also prevents Mongrels
from allocating extra 50 Mb of RAM per process under load, which is
important when you are running multiple relatively inactive apps on
the same hardware.

--
Alex Verkhovsky

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to