Hi everyone!
I’ve just asked a question in the Rails forum:
http://www.ruby-forum.com/topic/111412#new
But I’ve been re-directed here for a more detailed answer Anyway,
below is my original question(s).
My development-side question was answered already but I’m still
interested in learning more about the production side of things - eg -
whether people suggest using Pound or Apache, do I need multiple mongrel
clusters, etc.
I’ve been using Apache for years but I’m not really familiar with
configuring it outside common behaviour and if Pound is going to be a
little easier I might go with that, if it will do the same thing?
My main concern is how to host multiple applications on a single server
- I am a website developer so I’ll likely end up with a lot of sites
running on a single server. Do I need a separate application (and
mongrel cluster) for each of these?
Anyway, whatever help you can provide would be greatly appreciated!
Thanks
Jay
Hi everyone!
I’m just getting started with RoR - I’m a bit behind the game! Anyway, I
have several website I want to move over to this format and which I want
to host on a single Linux Virtual Machine (that’s what my hosting is at
the moment, if I have to upgrade to a dedicated server, so be it). So
I’m a little confused about how this all fits together - most of the
info I’ve read seems to be geared towards a single application, rather
than multiple applications.
So I guess my question is, what setup should I use for development and
production? I have been considering Apache or Pound, with a mongrel
cluster running several Ruby instances. But do I need this much on the
development side? Or can I just use WebBrick on different ports and be
done with thinking about it? When it comes to production what do I do
here? Do I need a mongrel cluster for each application? Or can you make
each cluster run more than one application, so Apache/Pound can redirect
to the same place for all incoming requests?
Anyway, any help with setting this up would be most appreciated
Thanks
Jay