I am trying to get my head around this, and I think the shared hosting providers do something like this: I want to run 3 separate rails apps (app1,app2,app3 = mephisto,rforum,custom) with the following setup: (a) Apache [vhost1, vhost2, vhost3] (b) each vhost points to mongrel-cluster1, mongrel-cluster2, mongrel-cluster3 (3 mongrels each) (c) each mongrel cluster in turn points to app1, app2, app3 NOTE: each vhost can point to potentially a separate subdoamin. I own the box, and can configure it as needed (dedicated box). Here is a quick n cheezy diagram I tried to do: http://photos1.blogger.com/blogger/434/1977/1600/ting-arch1.1.png all of the tiers (web/mongrel+app/db) are on the same box, with possiblity of scaling the DB off onto its own box if needed. Can someone point me to some information in this regard, or point out the folly of my ways? I am looking for whether or not it is possible to do, a quick synopsis of how I might be able to accomplish this (or a kindly pointer to a howto?) Thanks so much, Amr -- 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 -~----------~----~----~----~------~----~------~--~---
Tom Mornini
2006-Aug-24 00:50 UTC
[Rails] Re: Multiple Mongrel Clusters with separate VHosts
On Aug 23, 2006, at 4:30 PM, Amr Malik wrote:> > I am trying to get my head around this, and I think the shared hosting > providers do something like this: > > I want to run 3 separate rails apps (app1,app2,app3 > mephisto,rforum,custom) with the following setup: > > (a) Apache [vhost1, vhost2, vhost3] > > (b) each vhost points to mongrel-cluster1, mongrel-cluster2, > mongrel-cluster3 (3 mongrels each) > > (c) each mongrel cluster in turn points to app1, app2, app3 > > NOTE: each vhost can point to potentially a separate subdoamin. I own > the box, and can configure it as needed (dedicated box). > > Here is a quick n cheezy diagram I tried to do: > http://photos1.blogger.com/blogger/434/1977/1600/ting-arch1.1.png > > all of the tiers (web/mongrel+app/db) are on the same box, with > possiblity of scaling the DB off onto its own box if needed. > > Can someone point me to some information in this regard, or point out > the folly of my ways? > > I am looking for whether or not it is possible to do, a quick synopsis > of how I might be able to accomplish this (or a kindly pointer to a > howto?)This is completely doable, and you''ve described exactly how to do it. If you Google for Apache, mod_proxy_balancer, mongrel you''ll get all the help you need. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Amr Malik
2006-Aug-24 16:08 UTC
[Rails] Re: Multiple Mongrel Clusters with separate VHosts
Tom Mornini wrote:> On Aug 23, 2006, at 4:30 PM, Amr Malik wrote: > >> mongrel-cluster3 (3 mongrels each) >> possiblity of scaling the DB off onto its own box if needed. >> >> Can someone point me to some information in this regard, or point out >> the folly of my ways? >> >> I am looking for whether or not it is possible to do, a quick synopsis >> of how I might be able to accomplish this (or a kindly pointer to a >> howto?) > > This is completely doable, and you''ve described exactly how to do it. > > If you Google for Apache, mod_proxy_balancer, mongrel you''ll get all > the help you need.heh.. that was easy! Thanks Tom! :) -- 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 -~----------~----~----~----~------~----~------~--~---