Topic: prefered linux distro for production rails

seems like I should run apache with proxy to mongrel. Assuming you agree, which linux distro is preferred for production?

Normally for java I would pefer Redhat/Centos EL4.0 (or now 5.0). Looks like I would need 5.0 to run the proxy stuff for apache.

Is fedora or ubuntu or suse or anything else better for rails? What are the popular apps running on?

thanks
joel

Re: prefered linux distro for production rails

Unless I had a lot of static content, I would just stick to mongrel (no apache.)  That's assuming that apache is much better than mongrel for static content, which I don't actually know is true.

BrewControl.com - Brewery and Brewpub management powered by RoR

Re: prefered linux distro for production rails

Now that debian etch is stable, I just built a new setup around that with lighttpd, it's awesome.  I didn't need to install any gems, I don't even have a compiler installed.  I was not able to find a debian package for mongrel, so I decided to shy away from that for now and use lighttpd this time.

I did get rails 1.2 from the experimental distro, since I was already on that and didn't want to revert all my code, but everything else couldn't have been easier.

Re: prefered linux distro for production rails

Doing Fedora Core 5 w/apache2.2, and my experience has been excellent so far. A fan of the redhat variants myself, mostly out of familiarity though, no real technical reason.

Apache is, in my opinion, most def. better at serving static content.  The balancer is pretty sweet too.  I need to do some benchmarking one of these days though...

Re: prefered linux distro for production rails

The problem with running mongrel is that it's dispatcher to rails is single threaded.  This means that each incoming http request is processed sequentially - not concurrently.  This is a problem if you get several incoming requests i.e. load.  Apache can load balance across several mongrel servers.

As far as linux distros, ubuntu seems to be very popular.  IMHO apt-get is better than yum or up2date (the redhat package manager).