Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am fairly new to using any of these servers, so it will really help in knowing what specific features are most optimized of any of these three webservers.

And in what scenarios should I choose one over the other?

share|improve this question
What are you trying to do? Load balance? Reverse proxy for caching? Reverse proxy for security? – gravyface Jun 14 '10 at 23:09
I need to load balance, as well as enable caching. – phoenix24 Jun 15 '10 at 0:00

I tend to use something for what it is made for. While Nginx and Lighty can handle load-balancing and caching, they are primarily made to be fast and small web-servers. So, I would use Varnish as a load-balancer and caching front-end and either Nginx or Lighty as the web-server backend.

share|improve this answer

This comparison of the performances of Varnish vs Nginx vs Lighttpd can help understand what you need.

Varnish seems to be useful only in those cases where you have a huge number of cached dynamic outputs - and even here, it is not clear at which threshold it would start to work faster than plain old Web servers.

For serving anything else, including a large collection of static files, look at the benchmarks above to make your choice.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.