Joel
Joel

Reputation:

Which of these would be the best Ruby on Rails server setup?

Here are my choices:

It's a Linux VPS with 256 MB RAM. So, which do you recommend?

Upvotes: 0

Views: 296

Answers (3)

nitecoder
nitecoder

Reputation: 5486

nginx uses less memory than Apache, given the size of your setup I would definitely recommend that. Mongrel is OK, but a little dated, and a pain to keep it under control and controlling its memory size. Passenger is a great way to run Ruby on Rails applications, so I would recommend that also. nginx and Passenger, definitely the way to go. My latest business application is running great in production with nginx and Passenger so it is definitely production ready. An added bonus is that nginx serves static and cached content even faster than Apache.

Upvotes: 1

askegg
askegg

Reputation: 664

I would be going with Apache2 and Passenger as it's super simple to setup and scales well. Also grab the Ruby Enterprise Edition if you're concerned about memory and speed.

Upvotes: 2

Unknown
Unknown

Reputation: 46773

Nginx and Mongrel is supposed to be the tried and true setup.

However, Passenger is supposed to be more memory friendly.

Upvotes: 0

Related Questions