When comparing Nginx vs Lighttpd, the Slant community recommends Nginx for most people. In the question“What are the best web servers?” Nginx is ranked 1st while Lighttpd is ranked 3rd. The most important reason people chose Nginx is:
Nginx is event-driven, asynchronous, non-blocking and single threaded (one master process + worker processes). This allows nginx to be manage resources more efficiently compared to thread-based models (like Apache).
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Fast and built for scalability
Nginx is event-driven, asynchronous, non-blocking and single threaded (one master process + worker processes). This allows nginx to be manage resources more efficiently compared to thread-based models (like Apache).
Pro Free and open source
Pro Advanced load balancing and caching
Pro Easily configurable
Configuration files are concise and simple.
Pro Highly efficient memory use
Pro Lightweight
Nginx offers a more basic set of functions out of the box compared most web servers. Extra functionality can be added via modules.
Pro Highly efficient CPU use
Pro Event Based Request Handling
Does not fork/thread per request.
Pro Fast and built for scalability
Lighttpd is event-driven, asynchronous, non-blocking and single threaded. This allows lighttpd to be manage resources more efficiently compared to thread-based models (like Apache).
Pro Simple setup for static content
Pro Highly efficient memory use
With a small memory footprint compared to other web-servers, effective management of the cpu-load.
Pro Lightweight
Lighttpd offers a more basic set of functions out of the box compared most web servers. Extra functionality can be added via modules.
Pro Free and open source
Cons
Alternative Products
Built By the Slant team
Lustre recommends the best products at their lowest prices – right on Amazon.