Lighttpd or Ngnix

Hi,

Lighttpd or Ngnix. Which one is best for production env?
Kindly throw some reasons for the best one, and also for the
worst one.

Ayyanar

ive been reading many blogs about a different setups. most blogs that i
have read, nginx seems very recommended. however, apache has many
documentation to help handle non rails stuff.

Ayyanar Aswathaman wrote:

Hi,

Lighttpd or Ngnix. Which one is best for production env?
Kindly throw some reasons for the best one, and also for the
worst one.

Ayyanar

It’s not really an either/or thing - it is quite feasible to have
nginx handling all incoming requests, and maybe serving static pages
itself, while passing rails requests to upstream mongrels, and other
requests - php, or whatever - to apache.

I’ve not done any tests, but it just ‘feels right’ to have something
fast at the front end, and so far this setup works for me :wink:

Tony

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs