Please note that the *free* version is limited to 150 connections per
second. That is still a *lot* of traffic, but something to keep in
mind. It's also bound to only one CPU.
Because Apache is quite a hefty memory user and the first passenger spawner is still in somewhat of the same league as a single mongrel, nginx+mongrel might be a better option if you’re planning on running a single rails app on a low-memory vps. I might be tempted to try passenger on our next server though.
Apache w/FastCGI was standard 3+ years ago... then Lighttpd came to
the rescue... then Nginx kicked both of their asses out of the water.
I'd look at using Nginx with a mongrel cluster if you're going to be
deploying to a Linux-based envrionment. This is the default
configuration that we use with our Rails Boxcar[1]
I must set up a Dedicated Server for a large community which is based
on ruby on rails.
What is the best, fastest & most secure server solution/configuration
for this?
I found several different opinions on the web...
- Lighttpd with fastcgi or mongrel
- nginx with fastcgi or mongrel
- apache 2 with fastcgi
Chris,
Apache w/FastCGI was standard 3+ years ago... then Lighttpd came to
the rescue... then Nginx kicked both of their asses out of the water.
I'd look at using Nginx with a mongrel cluster if you're going to be
deploying to a Linux-based envrionment. This is the default
configuration that we use with our Rails Boxcar[1]