# Multiple Applications Setup

**URL:** <https://www.ruby-forum.com/t/multiple-applications-setup/106501>\
**Category:** Rails\
**Created:** [June 11, 2007, 11:53am UTC](https://www.ruby-forum.com/t/multiple-applications-setup/106501 "2007-06-11T11:53:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjames](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c57346/32.png) [@sjames](https://www.ruby-forum.com/u/sjames)\
**Post date:** [June 11, 2007, 11:53am UTC](https://www.ruby-forum.com/t/multiple-applications-setup/106501/1 "2007-06-11T11:53:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sjames](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c57346/32.png) [@sjames](https://www.ruby-forum.com/u/sjames)\
**Post date:** [June 11, 2007, 1:05pm UTC](https://www.ruby-forum.com/t/multiple-applications-setup/106501/2 "2007-06-11T13:05:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![sjames](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c57346/32.png) [@sjames](https://www.ruby-forum.com/u/sjames)\
**Post date:** [June 11, 2007, 1:18pm UTC](https://www.ruby-forum.com/t/multiple-applications-setup/106501/3 "2007-06-11T13:18:52Z")

</div>

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
