# Best production environment for 2008!

**URL:** <https://www.ruby-forum.com/t/best-production-environment-for-2008/145254>\
**Category:** Rails\
**Created:** [August 7, 2008, 8:16am UTC](https://www.ruby-forum.com/t/best-production-environment-for-2008/145254 "2008-08-07T08:16:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean\_CSHess](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@Sean\_CSHess](https://www.ruby-forum.com/u/Sean_CSHess)\
**Post date:** [August 7, 2008, 8:16am UTC](https://www.ruby-forum.com/t/best-production-environment-for-2008/145254/1 "2008-08-07T08:16:47Z")

</div>

Hi, I’m not sure if I’m just not googling the right things, but I  
can’t find a post about a production environment any later than early  
2007.

Things seem to change so fast in the rails world, what with mod\_rails  
out now, and people trying all kinds of crazy stuff. What do people  
use in the real world? I’m looking for something that can scale very  
easily… I want to know “the right way” to do it. I realize that is  
a loaded question, but I mean I’m not interested in methods only  
appropriate for light loads. (my app will be a medium load).

If it won’t mess me up, I’d like to use apache. I’m familiar with it  
already, and it would be nice to have some php stuff running in  
parallel.

Thanks… links are fine, as are the correct terms to google 🙂

---

<div class="post-metadata">

**Author:** ![Sean\_CSHess](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@Sean\_CSHess](https://www.ruby-forum.com/u/Sean_CSHess)\
**Post date:** [August 7, 2008, 8:21am UTC](https://www.ruby-forum.com/t/best-production-environment-for-2008/145254/2 "2008-08-07T08:21:28Z")

</div>

Is this a good method? I think I’ve read about the apache proxy mongrel  
cluster thing in a couple of places

> **[Rails production server setup and deployment on Ubuntu/Debian · devroom.io](https://www.devroom.io/2007/06/20/rails-production-server-setup-and-deployment-on-ubuntudebian/)**
>
> Ariejan de Vroom's personal website on software engineering, electronics tinkering and car mechanics.

---

<div class="post-metadata">

**Author:** ![Sean\_CSHess](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@Sean\_CSHess](https://www.ruby-forum.com/u/Sean_CSHess)\
**Post date:** [August 7, 2008, 8:23am UTC](https://www.ruby-forum.com/t/best-production-environment-for-2008/145254/3 "2008-08-07T08:23:48Z")

</div>

Our environment:

many local servers (for development) on individual’s computers  
one staging server  
one production server

Changes are done on the dev machines, specs are run, changes are  
(usually) checked, and then uploaded to staging. Staging is then  
updated with the latest version, tests are run again and then when  
that all passes we do cap deploy to production.

---

<div class="post-metadata">

**Author:** ![Sean\_CSHess](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@Sean\_CSHess](https://www.ruby-forum.com/u/Sean_CSHess)\
**Post date:** [August 7, 2008, 8:26am UTC](https://www.ruby-forum.com/t/best-production-environment-for-2008/145254/4 "2008-08-07T08:26:43Z")

</div>

Oh, and for our servers we use Apache with mod\_rails.

---

<div class="post-metadata">

**Author:** ![Sean\_CSHess](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@Sean\_CSHess](https://www.ruby-forum.com/u/Sean_CSHess)\
**Post date:** [August 7, 2008, 3:05pm UTC](https://www.ruby-forum.com/t/best-production-environment-for-2008/145254/5 "2008-08-07T15:05:43Z")

</div>

Thanks Ryan, is mod\_rails working out well for you? It’s definitely  
easy to  
set up, but when I first tried it (on my local computer), there was a 1  
second latency for requests… almost like it was using CGI or  
something.  
Are there any tricks to a mod\_rails deployment, or is just upload and  
go?

---

<div class="post-metadata">

**Author:** ![Sean\_CSHess](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@Sean\_CSHess](https://www.ruby-forum.com/u/Sean_CSHess)\
**Post date:** [August 7, 2008, 3:16pm UTC](https://www.ruby-forum.com/t/best-production-environment-for-2008/145254/6 "2008-08-07T15:16:15Z")

</div>

This site lists the different production environments in the order they  
became popular (hopefully for good reasons). Looks like I’m going to  
try  
mod\_rails. Thanks!  
[http://www.rubyinside.com/28\_mod\_rails\_and\_passenger\_resources-899.html](http://www.rubyinside.com/28_mod_rails_and_passenger_resources-899.html)
