Question

I have a Ruby on Rails application that will be a CMS in way which means it's mostly DB intensive. I expect it to have decent amount of traffic so before designing I'm choosing what servers to use. Most important for me is performance.

I heard good things about Nginx and many developers in the Rails community recommends it my only concern about it was that its version is 0.8 which is Beta I believe so I was concerned about potential problems. What is your say?

Also, I want to decide between using Mongrel cluster or Phusion Passenger. What do you think?

I'm planning to user Ruby 1.9 as it has better performance that Ruby 1.8 and I will be using VPS to host my website.

My main things is performance even if it takes longer to setup one over the other.

Your opinion is highly appreciated.

Thanks,

Tam

Was it helpful?

Solution

I'd second for Passenger + Nginx. Very low memory and it's not too difficult to setup. What type of server are your deploying too? Specs? OS? I'd take that into consideration as well considering your available hardware. If you've got enough memory already, then it shouldn't be an issue whether its Passenger or Apache, just optimize and cache your app efficiently.

OTHER TIPS

Two comments: You can deploy any rails app to any of your mentioned servers, so no need to decide this once and for all now.

IMO mongrel clusters are no longer worth the trouble. Go for passenger on whatever server makes you happy.

Id recommend passenger nginx, the configs are nice and tidy plus the memory footprint is really low compared to passenger apache.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top