Here’s the Deal
Slant is powered by a community that helps you make informed decisions. Tell us what you’re passionate about to get your personalized feed and help others.
When comparing Nginx vs HAProxy, the Slant community recommends Nginx for most people. In the question“What are the best HTTP load balancers?” Nginx is ranked 1st while HAProxy is ranked 2nd.
Specs
PlatformsWindows, Linux, Mac, BSD
No specs yet!
Ranked in these QuestionsQuestion Ranking
Common Questions
Other Questions
No other questions
Pros
Pro Free and open source
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 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 memory use
Pro Highly efficient CPU use
Pro Advanced load balancing and caching
Pro Event Based Request Handling
Does not fork/thread per request.
Pro Easily configurable
Configuration files are concise and simple.
Pro Open Source
Pro Popular
Pro Very fast
Pro Supports proxying for HTTP and TCP
Pro High performance
Cons
No cons yet!
No cons yet!