Ruby on Rails
Shall I use Apache with passenger, or should I be using Nginx/Lighthttp with mongrel and fast cgi?
I keep hearing that apache uses too much memory, but fast cgi makes apps run slowly.
I'm just starting out with ROR, and I don't know a lot about setting it up. I want to make some headway this weekend. If anyone could advise me then I'd be very grateful.
6 Replies
Then I tried lighttpd and it was about a billion times easier to set up. I can't imagine ever going back to Apache. Lighttpd is easier to set up plus it uses barely any memory. I'm sitting at over 180MB of free memory consistently, even under my heaviest load.
.
Apache you might be able to tune [have it use MPM, not as many workers]