Software Alternatives & Reviews

nginx VS Haproxy

Compare nginx VS Haproxy and see what are their differences

nginx logo nginx

A high performance free open source web server powering busiest sites on the Internet.

Haproxy logo Haproxy

Reliable, High Performance TCP/HTTP Load Balancer
  • nginx Landing page
    Landing page //
    2023-07-28
  • Haproxy Landing page
    Landing page //
    2023-03-19

nginx videos

Nginx vs Apache Webservers: Main Differences

More videos:

  • Review - Nginx Web Hosting - 5 Best Nginx Reverse Proxy That Support Millions of Web Traffic!
  • Review - NGINX as a Reverse Proxy (listening on port 80)

Haproxy videos

HAProxy Crash Course (TLS 1.3, HTTPS, HTTP/2 and more)

More videos:

  • Review - HAPROXY vs NGINX - 10,000 requests while killing servers
  • Tutorial - How To Setup ACME, Let's Encrypt, and HAProxy HTTPS offloading on pfsense

Category Popularity

0-100% (relative to nginx and Haproxy)
Web And Application Servers
Web Servers
77 77%
23% 23
Application Server
100 100%
0% 0
Load Balancer / Reverse Proxy

User comments

Share your experience with using nginx and Haproxy. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare nginx and Haproxy

nginx Reviews

13 Best XAMPP Alternatives
Nginx is an open-source, high-performance web server used by tech companies, including Pinterest, Airbnb, Cloudflare, and Zendesk. It has been called the new Apache for its ability to scale more efficiently than other web servers, and many developers prefer it because it’s easy to deploy. Nginx also integrates with many programming languages via FastCGI.
Source: thetechtian.com
7 Best Containerization Software Solutions of 2022
If your enterprise is undergoing digital transformation, the NGINX application platform can help you modernize your legacy applications and deliver new microservices‑based applications – with performance, reliability, security, and scale.
Source: techgumb.com
Apache, IIS, NGINX, GWS : What’s Your Choice?
Utilizing a specific type of virtual or physical server determines the type of web server software you use. If you prefer Microsoft, then you will prefer to use IIS (Internet Information Services / Server) by Microsoft as your primary web server application solution. If you use Linux distribution, you have other alternatives like Apache, NGINX and LiteSpeed.
Source: www.milesweb.in
10 Awesome Open Source Load Balancers
Nginx is a battle-tested piece of software written in C and initially introduced in 2004. Since then, it has grown to be an all-in-one reverse proxy, load balancer, mail proxy, and HTTP cache. It offers L7 load balancing support for HTTP, HTTPS, FastCGI, uWSGI, SCGI, Memcached, and gRPC backends. Nginx’s process worker model is highly scalable and deployed at large scales in...
10 Open Source Load Balancer for HA and Improved Performance
I know what you might be thinking. Nginx is a web server, proxy server, etc. But open-source Nginx does support a basic level of content switching & request routing distribution across multiple servers.
Source: geekflare.com

Haproxy Reviews

10 Awesome Open Source Load Balancers
HAProxy is an L4 and L7 load balancer supporting TCP and UDP traffic. It’s a well-established, open source solution used by companies such as Airbnb and GitHub. HAProxy is also a very capable L7 load balancer, supporting HTTP/2 and gRPC backends. Thanks to its long history, large community, and reliable nature, HAProxy has become the de facto open source load balancer—it...
10 Open Source Load Balancer for HA and Improved Performance
One of the popular ones out there in the market is to provide high availability, proxy, TCP/HTTP load-balancing. HAProxy is used by some of the reputed brands in the world, like below.
Source: geekflare.com
Top 5 Open-Source Load Balancers 2021
HAProxy provides many distinct features such as it processes an enormous number of tasks in a millisecond, offers minimal cost for context switch and memory usage, ability to instantly detect a threat or event on tens of thousands of connections, efficient use of the CPU cycles, and memory bandwidth, optimized timer queue, optimized HTTP header analysis, GZip Compression,...
Source: linuxways.net
The 5 Best Open Source Load Balancers
HAProxy is another common name in the web ecosystem. HAProxy offers reverse proxying and load balancing of TCP and HTTP traffic. When you choose HAProxy, you’re choosing a high-performance, well-established solution.
Source: logz.io

Social recommendations and mentions

Based on our record, nginx seems to be a lot more popular than Haproxy. While we know about 46 links to nginx, we've tracked only 2 mentions of Haproxy. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

nginx mentions (46)

  • Nginx 1.26.0 Stable Released
    Can’t find any changelog other than this, > nginx-1.26.0 stable version has been released, incorporating new features and bug fixes from the 1.25.x mainline branch — including experimental HTTP/3 support, HTTP/2 on a per-server basis, virtual servers in the stream module, passing stream connections to listen sockets, and more https://nginx.org/. - Source: Hacker News / 5 days ago
  • How to securely reverse-proxy ASP.NET Core web apps
    However, it's very unlikely that .NET developers will directly expose their Kestrel-based web apps to the internet. Typically, we use other popular web servers like Nginx, Traefik, and Caddy to act as a reverse-proxy in front of Kestrel for various reasons:. - Source: dev.to / 2 months ago
  • Ask HN: Is nginx.org (the domain-name itself) gone?
    So at least the servers that host https://nginx.org are not down. - Source: Hacker News / about 1 month ago
  • [06/52] Accessible Kubernetes with Terraform and DigitalOcean
    > curl www.mydomain.com Welcome to nginx! Html { color-scheme: light dark; } Body { width: 35em; margin: 0 auto; Font-family: Tahoma, Verdana, Arial, sans-serif; } Welcome to nginx! If you see this page,... - Source: dev.to / 3 months ago
  • Five Apache projects you probably didn't know about
    APISIX is an API Gateway. It builds upon OpenResty, a Lua layer built on top of the famous nginx reverse-proxy. APISIX adds abstractions to the mix, e.g., Route, Service, Upstream, and offers a plugin-based architecture. - Source: dev.to / 4 months ago
View more

Haproxy mentions (2)

  • HA Proxy For MySQL Master – Slave
    Root@haproxy01:~# haproxy -v HA-Proxy version 2.0.13-2ubuntu0.3 2021/08/27 - https://haproxy.org/ How to Install it? You simply use yum or apt commands to install it Sudo apt install -y haproxy. - Source: dev.to / almost 2 years ago
  • cannot get haproxy / mjpeg streamer to play nice together
    HA-Proxy version 2.2.9-2+deb11u3 2022/03/10 - https://haproxy.org/ maxconn 4096 user haproxy group haproxy daemon log 127.0.0.1 local0 debug Defaults log global mode http option httplog option dontlognull retries 3 option redispatch option http-server-close option forwardfor maxconn 2000 ... Source: almost 2 years ago

What are some alternatives?

When comparing nginx and Haproxy, you can also consider the following products

Apache Tomcat - An open source software implementation of the Java Servlet and JavaServer Pages technologies

Traefik - Load Balancer / Reverse Proxy

Apache HTTP Server - Apache httpd has been the most popular web server on the Internet since April 1996

AWS Elastic Load Balancing - Amazon ELB automatically distributes incoming application traffic across multiple Amazon EC2 instances in the cloud.

Oracle WebLogic - Receive a complimentary technical review and consultation on moving your Oracle WebLogic Server applications into containers.

SKUDONET - Scale easy and avoid system disruptions with the ADC challengers through high availability, load balancing, security and high performance.