![]() |
| The perfect Rails configuration |
|
comprug
Forum Regular
|
I recently got a VPS, and began to setup the typical Rails + Apache Mod_Proxy_Balancer + Mongrel Cluster, but then I discovered a better, less demanding solution. If anyone is interested in nginx, please let me know.
|
||||||||||||
|
|
|||||||||||||
|
mdiamondstone
|
Comprug,
I know this a little late in coming, but I would love to hear about your Rails setup. As a technician, I deal with Rails tickets less often than most, but it's always good to see a new twist on an old configuration! |
||||||||||||
|
|
|||||||||||||
|
nathacof
Forum Admin
|
Ngnix is a beautiful thing, and can be used to Proxy virtually anything. I would be interested in your experiences!
|
||||||||||||
|
|
|||||||||||||
| VPS |
|
comprug
Forum Regular
|
I got rid of that VPS a while ago, because I don't need it anymore. That being said, the (current) ideal configuration for Ruby on Rails is:
Ruby Enterprise Edition (Reduces memory footprint 33%) Nginx (or apache) Phusion Passenger The memory footprint is a great deal smaller than that of Mongrel, and even of FastCGI. A bunch of rails hosts are now even running it in the shared environment. To install (for Apache): First install Ruby Enterprise Edition (http://www.rubyenterpriseedition.com/) Install Passenger with the following: gem install passenger passenger-install-apache2-module Passenger will automatically detect REE. And that's it. |
||||||||||||
|
|
|||||||||||||
| The perfect Rails configuration |
|
||
|


