Multiple Applications Setup

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 :slight_smile:

Thanks
Jay

James H. wrote:

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?

No, for development you (usually) only need a single Mongrel or Webrick.
That is unless you have unusual requirements.

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?

You will need one cluster for each app. There is a Rails deployment
group which will most likely give your much better responses to
deployment questions.


Cheers,

  • Jacob A.

Hi Jacob et al

No, for development you (usually) only need a single Mongrel or Webrick.
That is unless you have unusual requirements.

Okay cool. Mongrel looks good - maybe I’ll get my teeth into that.

You will need one cluster for each app. There is a Rails deployment
group which will most likely give your much better responses to
deployment questions.

Oh yeah, oops! Sorry, I didn’t see that forum! I’ll post some more
production related questions there.

Thanks
Jay

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs