What is the most reliable web server for working with RoR in production or development?

Mongrel, Thin, Webrick, Passenger ... Which one is the most effective solution to put a RoR application in a production environment? Which one is the most flexible and easier to install and configure under Windows for the development environment?

+4
source share
6 answers

The easiest way to set up for production is likely to be Apache and mod_rails (passenger). If you want to use the new vehemence, you can give nginx and the passenger a whirlwind.

For development, mongrel is usually the easiest to work with. Most Windows IDEs (RadRails, Netbeans) give you the ability to use Webrick or Mongrel for development and allow you to manage servers from the IDE itself.

+13
source

My preference is nginx + Thin.

I have been using Thin in production for over a year, and it has been very stable.

I recommend that you try different scripts for your application and compare them in development using Apache Bench (ab) or httperf.

The Deploying Rails Applications section shows how you can do this.

+4
source

I prefer Passenger / Apache myself, and I was very lucky. I believe Heroku uses Thin, so I could suggest a look at this, unlike Mongrel. This page has good information on deploying Rails in generel: http://rubyonrails.org/deploy

+1
source

The mile passenger is easiest to set up. I have two production applications that Passenger manages, and they never had to touch any of them. Both of them used to run apache / mongrel, which compared was a real pest, especially with regard to proper load balancing.

+1
source

For direct Ruby on Rails try Apache + Passanger

0
source

Mongrel and Passenger are most used for envs production

0
source

All Articles