Try our new research platform with insights from 80,000+ expert users
reviewer936006 - PeerSpot reviewer
UNIX System Administrator at a financial services firm with 5,001-10,000 employees
Real User
A containerized solution for TCP load balancing
Pros and Cons
  • "It solves a problem for me where I can build files, not based on the health of the check, but rather the speed of the check."
  • "The logging functionality could use improvement, as it is a little cryptic."

What is our primary use case?

Our primary use for this solution is to mount service for Redis.

How has it helped my organization?

It made something possible where I do load balancing on a container, without having to configure it at the firewall.

What is most valuable?

The most valuable feature is the TCP load balancing. It solves a problem for me where I can build files, not based on the health of the check, but rather the speed of the check. I found that functionality to be quite useful.

What needs improvement?

The logging functionality could use improvement, as it is a little cryptic. Additional logging functionality with better documentation would be helpful.

Buyer's Guide
HAProxy
June 2025
Learn what your peers think about HAProxy. Get advice and tips from experienced pros sharing their opinions. Updated: June 2025.
856,873 professionals have used our research since 2012.

For how long have I used the solution?

Six months.

What do I think about the stability of the solution?

I'm quite happy with the frequency in which new versions and updates come out. Each release either adds some functionality or fixes some bugs, from what I've seen. I've upgraded the HAProxy probably ten times now, and have never had an issue.

How are customer service and support?

I have never had to use the solution's technical support.

How was the initial setup?

I found that the setup was pretty straightforward, although I had read a book on HAProxy before I started the project. I had given it some thought in terms of what it was that I wanted to do. The book that I read was good, and it was easy for me to install the product.

Only one person is required for deployment and maintenance.

What's my experience with pricing, setup cost, and licensing?

We are not paying for HAProxy support. We're using the free version, compiling it in a container, and using it. The only cost is for the image manager, who is responsible for uploading the image, and that is trivial. 

Which other solutions did I evaluate?

I chose this solution because I have to operate within a Docker container, and this is the only one that I could get to work.

What other advice do I have?

Once the container is set up, the time it takes to deploy is typically under a minute. That is a full-blown solution with all the plugins and images that I'm planning on using. I'm pretty happy with it.

I would rate this solution a nine out of ten.

Disclosure: My company does not have a business relationship with this vendor other than being a customer.
PeerSpot user
reviewer996537 - PeerSpot reviewer
DevOps-Infrastructure Team Leader at a tech company with 201-500 employees
Real User
The seamless reload feature was much needed and very helpful

What is our primary use case?

HAProxy is used both as an external (customer facing) and internal (between service APIs) solution. We use it for SSL offload, domain and path based ACLs, request header manipulations, and much more.

How has it helped my organization?

Layer 7 health checks improved stability. Logs and metrics are very rich and easy to export which makes it easier for us to pinpoint once something is not working as we expect.

What is most valuable?

With each new release, I find very useful features and love each addition. Recently, the seamless reload feature was much needed and very helpful.

What needs improvement?

I would like to see a two (or more) native cluster support without third parties or DNS manipulations.

For how long have I used the solution?

More than five years.
Disclosure: My company does not have a business relationship with this vendor other than being a customer.
PeerSpot user
Buyer's Guide
HAProxy
June 2025
Learn what your peers think about HAProxy. Get advice and tips from experienced pros sharing their opinions. Updated: June 2025.
856,873 professionals have used our research since 2012.
Senior Vice President of TechOps at a computer software company with 201-500 employees
Real User
Performance in load balancing, SSL termination, means more stability for our clients

What is our primary use case?

Load balancing and SSL termination.

How has it helped my organization?

HAProxy enabled better performance at lower costs. That enabled us to provide more stability to our clients.

What is most valuable?

Performance.

What needs improvement?

A better GUI would be nice.

For how long have I used the solution?

One to three years.

What do I think about the stability of the solution?

No issues with stability.

What do I think about the scalability of the solution?

No issues with scalability.

How are customer service and technical support?

Very professional, helpful.

Which solution did I use previously and why did I switch?

We used F5 BIG-IP in the past and switchED due to performance issues and costs.

How was the initial setup?

It is mostly straightforward and HAProxy was very helpful, guiding us during the deployment.

What's my experience with pricing, setup cost, and licensing?

I think that the pricing is very fair, I would definitely recommend buying the Enterprise license.

Which other solutions did I evaluate?

Citrix Netscaler and Kemp LoadMaster.

What other advice do I have?

HAProxy is a very powerful solution with great performance, but it needs to be evaluated carefully according to the specific environment and requirements.

Disclosure: PeerSpot contacted the reviewer to collect the review and to validate authenticity. The reviewer was referred by the vendor, but the review is not subject to editing or approval by the vendor.
PeerSpot user
Deployment Engineer at a tech services company with 501-1,000 employees
Consultant
Advanced traffic rules, including stick tables and ACLs, allow me to shape traffic
Pros and Cons
  • "I can simplify configurations of many internal services (e.g. Web server configs) by moving some elements (like SSL) to HAProxy. I can also disable additional applications, like Varnish, by moving traffic shaping configurations to HAProxy."
  • "Advanced traffic rules, including stick tables and ACLs, which allow me to shape traffic while it's load balanced."
  • "Performance configuration options with threads, processes, and core stickiness are very valuable."
  • "There are three main areas to improve: 1) Make remote management more modern by adding API. 2) Propose a general HA ​solution for HAProxy (no I'm using keepalived for this). 3) Thread option should be a bit more stable."

What is our primary use case?

I'm using HAProxy in two use cases. 

The first is as an internal load balancer for OpenStack services, in private cloud solutions. So HAProxy is used in front of Galera (MySQL cluster), Nova API, and also in front of exposed docker services. 

The second use case is as a load balancer for a Web hosting solution. HAProxy is load balancing external traffic.

Configuration of HAProxy includes brute force sandboxing (including stick tables and hardcoded ACL for defined paths), splitting traffic by dynamic and static content to redirect it to the proper back-end, SSL, and HTTP headers management.

How has it helped my organization?

I can simplify configurations of many internal services (e.g. Web server configs) by moving some elements (like SSL) to HAProxy. I can also disable additional applications, like Varnish, by moving traffic shaping configurations to HAProxy.

What is most valuable?

Advanced traffic rules, including stick tables and ACLs, which allow me to shape traffic while it's load balanced.

Performance configuration options with threads, processes, and core stickiness are also very valuable.

What needs improvement?

In my opinion, there are three main areas to improve:

  1. Make remote management more modern by adding API.
  2. Propose a general HA solution for HAProxy (no I'm using keepalived for this).
  3. Thread option should be a bit more stable.

For how long have I used the solution?

One to three years.

What do I think about the stability of the solution?

No issues with stability.

What do I think about the scalability of the solution?

No issues with scalability, but multiprocess config for HAProxy is more efficient than multi-thread.

Which solution did I use previously and why did I switch?

I used NGINX in my Web environment. HAProxy has more traffic shaping options and it's a dedicated VNF load-balancer.

How was the initial setup?

Initial setup was straightforward. The documentation is pretty thorough and up to date, and it is also easy to search.

What other advice do I have?

During the implementation, you have to plan ACLs and back-ends first. That allows you to prepare a cleaner config.

I rate HAProxy a 10 out of 10. It is fast, flexible, and rock solid.

Disclosure: My company does not have a business relationship with this vendor other than being a customer.
PeerSpot user
it_user862527 - PeerSpot reviewer
DevOps Engineer at a tech services company with 501-1,000 employees
MSP
Provides us with an easy way to handle a lot of containers
Pros and Cons
  • "The ability to handle a sequence of front- and back-ends gives the user the opportunity to send traffic through different services."

    How has it helped my organization?

    With an OpenShift environment, HAProxy gives us an easy way to handle a lot of containers.

    What is most valuable?

    The ability to handle a sequence of front- and back-ends gives the user the opportunity to send traffic through different services.

    What needs improvement?

    HAProxy needs to improve its ability to handle a lot of connections, to be more like NGINX.

    For how long have I used the solution?

    One to three years.

    What do I think about the stability of the solution?

    No issues with stability.

    What do I think about the scalability of the solution?

    I haven't had any issues with scalability but, as I mentioned above, some reviewers have said that NGINX is able to handle more connections than HAProxy.

    How was the initial setup?

    It was straightforward. I created an Ansible playbook to install HAProxy. It is simple to install and the configuration files are easy to understand.

    What's my experience with pricing, setup cost, and licensing?

    I have always used an open-source version.

    What other advice do I have?

    Before using it, you need to understand your environment's sizing and check if HAProxy is able to handle the quantity of connections.

    Disclosure: My company does not have a business relationship with this vendor other than being a customer.
    PeerSpot user
    Consultor at a tech services company with 51-200 employees
    Real User
    We were able to centralize connections with multiple carriers in a HA environment
    Pros and Cons
    • "We were able to use HAProxy for round robin with our databases, or for a centralized TCP connection in one host."
    • "The configuration should be more friendly, perhaps with a Web interface. For example, I work with the ClusterControl product for Severalnines, and we have a Web interface to deploy the HAProxy load-balancer."

    What is our primary use case?

    In my previous company, we had a lot of connections with carriers and we had this communication centralized with HAProxy. We had a high-availavility environment with HAProxy, and Keepalived too for database connections.

    How has it helped my organization?

    We were able to use HAProxy for round robin with our databases, or for a centralized TCP connection in one host.

    What is most valuable?

    Round robin and monitoring.

    What needs improvement?

    From my point of view, the configuration should be more friendly, perhaps with a Web interface. For example, I work with the ClusterControl product for Severalnines, and we have a Web interface to deploy the HAProxy load-balancer.

    For how long have I used the solution?

    Three to five years.
    Disclosure: My company does not have a business relationship with this vendor other than being a customer.
    PeerSpot user
    it_user860877 - PeerSpot reviewer
    Senior Operations Engineer
    Real User
    Reduced the load on our main load balancers
    Pros and Cons
    • "It reduced the load on our main load balancers."
    • "We did not need technical support because the documentation is good."
    • "We need to handle new connections by dropping, or queuing them while the HAProxy restarts, and because HAProxy does not handle split config files."

    What is our primary use case?

    We are using HAProxy for our internal load balancers between the front-end and back-end services. HAProxies are configured either manually (LVS redundancy included) or automatically (ambassador pattern by using a Consul & Consul-Template).

    How has it helped my organization?

    It reduced the load on our main load balancers.

    What is most valuable?

    • Flexible health-checking
    • Good config format to auto-configure

    What needs improvement?

    We need to handle new connections by dropping, or queuing them while the HAProxy restarts, and because HAProxy does not handle split config files.

    For how long have I used the solution?

    More than five years.

    What do I think about the stability of the solution?

    No stability issues.

    What do I think about the scalability of the solution?

    No scalability issues.

    How is customer service and technical support?

    We did not need technical support because the documentation is good.

    How was the initial setup?

    The initial setup is pretty straightforward.

    What's my experience with pricing, setup cost, and licensing?

    We use NGINX as well. However, because the health checks are a paid feature, I like to avoid it whenever possible.

    Which other solutions did I evaluate?

    We pretty much know all the software out there and its capabilities, so we did not evaluate anything else.

    What other advice do I have?

    Use a split front-end and back-end instead of using the "listen" directive. Therefore, you are clear what you are setting up. 

    Be aware of connections dropping during restarts, etc.

    Disclosure: My company does not have a business relationship with this vendor other than being a customer.
    PeerSpot user
    Haim Ari - PeerSpot reviewer
    Haim AriDevOps Tech Lead at a computer software company with 51-200 employees
    Top 20Vendor

    Hello,
    somewhere around version 1.8 of haproxy a new feature was released which helps to reduce connection drops to zero (at least according to the test i made)
    At this post i mention the test and the source to "truly-seamless-reloads-with-haproxy"

    devops.haim-ari.com

    Hope this helps out
    cheers

    Senior Systems Architect at a tech vendor with 51-200 employees
    Real User
    Multiple algorithms load-balance HTTP and TCP requests
    Pros and Cons
    • "The most important features would be the load-balancing of HTTP and TCP requests, according to multiple LB-algorithms (busyness, weighted-busyness, round robin, traffic, etc). Another important feature that we cannot live without is the username/passwd authentication for legacy systems that had none."
    • "The web stats UI, which provides the status of the health and numbers, could greatly benefit from having a RESTful interface to control the load-balanced nodes. Although there is a hack around the UI (by issuing a POST request to HAProxy with parameters), a RESTful interface would greatly improve the automation process (through Chef and Ansible)."

    What is our primary use case?

    We have the following use-cases for HAProxy:

    1. To load-balance dozens of Apache 2.4 Servers mod_proxy. (Internal load-balance Tomcat, Jetty, JBoss app containers, using TCP load-balancing).
    2. To load-balance hundreds of MySQL and PostgreSQL databases using TCP load-balancing. We manage inventory of these through Ansible automation.
    3. To provide a layer of security (username/passwd) authentication for legacy back-end Web apps that may not have username/passwd implemented yet. Some financial Web apps were created over 15 years ago and focused on reports, files, logs, and market share stats and were written in Perl. We also had a very old Kibana interface to visualize those logs. Such Web apps required HAProxy to tunnel the requests with un/pw authentication.
    4. To redirect traffic internally based on /URL to the relevant services (DNS nameserver) and as a gateway to tunnel traffic to customers who explicitly require reverse-IP authentication. The DNS nameserver was a trendsetter that we learned quickly and now cannot live without.

    How has it helped my organization?

    As our traffic began increasing nine years ago, we desperately needed to load-balance TCP requests (for DBs). We originally used round robin on an array[] which stored the IPs of half a dozen DBs. But with HAProxy, we didn't need to maintain such complexity. We later exploited many more features.

    What is most valuable?

    The most important features would be the load-balancing of HTTP and TCP requests, according to multiple LB algorithms (busyness, weighted-busyness, round robin, traffic, etc). 

    Another important feature that we cannot live without is the username/passwd authentication for legacy systems that had none.

    What needs improvement?

    The web stats UI, which provides the status of the health and numbers, could greatly benefit from having a RESTful interface to control the load-balanced nodes. Although there is a hack around the UI (by issuing a POST request to HAProxy with parameters), a RESTful interface would greatly improve the automation process (through Chef and Ansible).

    For how long have I used the solution?

    More than five years.

    What do I think about the stability of the solution?

    I have deployed over 50 instances of HAProxy over the past 15 years and never encountered any stability issues. Most HAProxy instances have continuously run for over two years until the server required a kernel upgrade.

    What other advice do I have?

    I have used it for over 10 years. I started using it as a Web application (Tomcat, Apache, JBoss) load-balancer when it had a few stable releases. When I first start using it, HAProxy was primarily used to load-balance HTTP requests. Since we are a B2B company that deals primarily with hotel inventory, IP authentication was a must. Therefore, our customers had single end-points to send and receive RESTful requests. To make this viable, we had to use a central server as a proxy to tunnel out the requests. We will continue to use HAProxy as our entry-point and exit-point of the system.

    Disclosure: My company does not have a business relationship with this vendor other than being a customer.
    PeerSpot user
    Buyer's Guide
    Download our free HAProxy Report and get advice and tips from experienced pros sharing their opinions.
    Updated: June 2025
    Buyer's Guide
    Download our free HAProxy Report and get advice and tips from experienced pros sharing their opinions.