Chris Johnson
2008-Oct-17 00:14 UTC
Moving from mod_proxy_balancer to HAProxy; any guidance?
Hi all. Just decided to move from mod_proxy_balancer to HAProxy for its improved load balancing to mongrels. Anyway, have you done the same? If so, can you provide any guidance for making this change? I haven''t been able to find any guides for doing so, and would love any insight you can provide. Many thanks, Chris -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jean-Marc (M2i3.com)
2008-Oct-21 12:08 UTC
Re: Moving from mod_proxy_balancer to HAProxy; any guidance?
Hi Chris, if you''re looking to load balance multiple mongrels on a single machine I''d go with Passenger (http://www.modrails.com/) directly under apache... not only it will mange the multiple instances of mongrel (start and stop them when needed) but it also serves the static files directly through apache. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Chris Johnson
2008-Oct-21 17:50 UTC
Re: Moving from mod_proxy_balancer to HAProxy; any guidance?
Jean-Marc (M2i3.com) wrote:> Hi Chris, > > if you''re looking to load balance multiple mongrels on a single > machine I''d go with Passenger (http://www.modrails.com/) directly > under apache... not only it will mange the multiple instances of > mongrel (start and stop them when needed) but it also serves the > static files directly through apache.I will look into that possibility. Regardless, I appreciate your reply. -Chris -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Phillip Koebbe
2008-Oct-21 19:11 UTC
Re: Moving from mod_proxy_balancer to HAProxy; any guidance?
Jean-Marc (M2i3.com) wrote:> Hi Chris, > > if you''re looking to load balance multiple mongrels on a single > machine I''d go with Passenger (http://www.modrails.com/) directly > under apache... not only it will mange the multiple instances of > mongrel (start and stop them when needed) but it also serves the > static files directly through apache.Um, unless a big rock fell on my head and I''ve been unconscious for a while, you don''t use Mongrels with Passenger. That''s the point of Passenger: to remove the need of proxying. Passenger is to Rails as mod_php is to PHP. Peace. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
This is correct. With mod_passenger you don''t need Mongrel, Thin ou Webrick. You connect your Apache directly to Rails. Watch out because the last time I check this work only on a Linux server. But why would you use Windows anyway for serving Web pages. Hugues On Oct 21, 3:11 pm, Phillip Koebbe <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Jean-Marc (M2i3.com) wrote: > > Hi Chris, > > > if you''re looking to load balance multiple mongrels on a single > > machine I''d go with Passenger (http://www.modrails.com/) directly > > under apache... not only it will mange the multiple instances of > > mongrel (start and stop them when needed) but it also serves the > > static files directly through apache. > > Um, unless a big rock fell on my head and I''ve been unconscious for a > while, you don''t use Mongrels with Passenger. That''s the point of > Passenger: to remove the need of proxying. Passenger is to Rails as > mod_php is to PHP. > > Peace. > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---