# Stable Production Environment on Unix/Linux

**URL:** <https://www.ruby-forum.com/t/stable-production-environment-on-unix-linux/56336>\
**Category:** Rails\
**Created:** [March 30, 2006, 8:59am UTC](https://www.ruby-forum.com/t/stable-production-environment-on-unix-linux/56336 "2006-03-30T08:59:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrkohrea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Post date:** [March 30, 2006, 8:59am UTC](https://www.ruby-forum.com/t/stable-production-environment-on-unix-linux/56336/1 "2006-03-30T08:59:23Z")

</div>

Hello,

I wonder what would be the most stable production runtime environment  
for a  
rails application on Unix/Linux. I am not very fond of FastCGI indeed,  
since  
it’s not seen any further developement lately.

What are your experiences e.g. with the mongrel server? Has anybody used  
it for  
production?

What are the alternatives?

May be some fine lad could just point me to web site dealing with real  
live  
production examples.

Greetings

Michael K.

---

<div class="post-metadata">

**Author:** ![mrkohrea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Post date:** [March 30, 2006, 9:02am UTC](https://www.ruby-forum.com/t/stable-production-environment-on-unix-linux/56336/2 "2006-03-30T09:02:23Z")

</div>

lighttpd and fcgi will probably give you the best performance at the  
moment.

Some people are proxying mongrel behind lighty, butI have not tried this  
in production

On Thursday, March 30, 2006, at 8:56 AM, Michael K. wrote:

> production?
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

Mikkel B.

www.strongside.dk - Football Portal(DK)  
[nflfeed.helenius.org](http://nflfeed.helenius.org) - Football News(DK)  
ting.minline.dk - Buy Old Stuff!(DK)

---

<div class="post-metadata">

**Author:** ![mrkohrea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Post date:** [March 30, 2006, 9:42am UTC](https://www.ruby-forum.com/t/stable-production-environment-on-unix-linux/56336/3 "2006-03-30T09:42:58Z")

</div>

Michael K. wrote:

> What are your experiences e.g. with the mongrel server? Has anybody used  
> it for  
> production?

I’m now using the latest version of Mongrel (0.3.12) in production, and  
so far - after about two days - it’s holding up fine; just as well as  
scgi, but it performs better. Previous versions of Mongrel didn’t work  
for me in production, but with the latest I haven’t experienced any of  
the prior problems.

I also have a site using fastcgi, but it’s slower, especially when it  
hasn’t been accessed for a while.

Joe

---

<div class="post-metadata">

**Author:** ![mrkohrea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Post date:** [March 30, 2006, 10:30am UTC](https://www.ruby-forum.com/t/stable-production-environment-on-unix-linux/56336/4 "2006-03-30T10:30:48Z")

</div>

You dont’t happen to use apache by any chance?

---

<div class="post-metadata">

**Author:** ![mrkohrea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Post date:** [March 30, 2006, 10:39am UTC](https://www.ruby-forum.com/t/stable-production-environment-on-unix-linux/56336/5 "2006-03-30T10:39:27Z")

</div>

Yeah, I use Apache on another server. As with Lighty, it can also easily  
proxy requests to Mongrel (which I haven’t gotten around to doing on  
that server - it currently uses scgi). I don’t know how proxy load  
balancing - like can be done with Lighty - would be done, but it must be  
possible.

Joe

---

<div class="post-metadata">

**Author:** ![mrkohrea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Post date:** [May 2, 2006, 10:28pm UTC](https://www.ruby-forum.com/t/stable-production-environment-on-unix-linux/56336/6 "2006-05-02T22:28:05Z")

</div>

Joe wrote:

> I don’t know how proxy load  
> balancing - like can be done with Lighty - would be done, but it must be  
> possible.

Apache 2.2 has mod\_proxy\_balancer.  
[http://httpd.apache.org/docs/2.2/mod/mod\_proxy\_balancer.html](http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html)

“This module requires the service of mod\_proxy. It provides load  
balancing support for HTTP, FTP and AJP13 protocols”.

---

<div class="post-metadata">

**Author:** ![mrkohrea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Post date:** [March 30, 2006, 10:30am UTC](https://www.ruby-forum.com/t/stable-production-environment-on-unix-linux/56336/7 "2006-03-30T10:30:49Z")

</div>

Well, I am stuck with apache for the time being ☹
