Stable Production Environment on Unix/Linux


#1

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.


#2

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

Mikkel B.

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


#3

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


#4

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


#5

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


#6

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

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


#7

Well, I am stuck with apache for the time being :frowning: