What is our primary use case?
HAProxy serves as an application load balancer that facilitates communication between applications and microservices. We operate an ad-serving platform that receives a high volume of requests to our front-facing application, and depending on certain criteria, we pass those requests to our backend application, which is horizontally scaled. We needed a proxy or load balancer between them to proxy all these requests. Instead of using a cloud-native solution, we chose HAProxy, which helps us scale effectively whenever requests are being passed through.
Being an e-commerce application, we often received a lot of requests, and although we scaled our applications in the backend, HAProxy managed to handle all those connections without much scaling. This significantly helped us during events with massive traffic or specific campaigns in our e-commerce applications.
What is most valuable?
The proxying capability itself is a feature we have used, and we utilize it as a load balancer. The multiple algorithm support, such as round-robin and least requested, along with all those options, proved very effective, and it was able to handle a lot of connections.
The concurrency handling of HAProxy was remarkably efficient. As a production engineer at that time, I definitely wanted to ensure that the system could handle massive connections, especially since we operated an e-commerce platform where we could not lose any customer calls. It was very critical to handle all the connections, and therefore, the concurrency handling of HAProxy was truly efficient.
During those high-traffic campaigns, there was actually very minimal latency. There definitely was a spike in latency, but it was very minimal, and HAProxy was able to manage the traffic without any noticeable latency in the application.
What needs improvement?
HAProxy already provides many of the features that other solutions in the market are providing, such as Nginx, so I do not see much room for improvement.
For how long have I used the solution?
I have been working in the current field for more than 15 years.
What do I think about the stability of the solution?
HAProxy is definitely stable. It was very scalable, and we never had many issues. The hot reload feature of HAProxy also really helped us so that we never had to shut it down to reload it.
What do I think about the scalability of the solution?
HAProxy's scalability is excellent. It handles tens and thousands of connections without any problem.
How are customer service and support?
I have never had to contact customer support, so I cannot speak to that experience.
How would you rate customer service and support?
Which solution did I use previously and why did I switch?
Before choosing HAProxy, we evaluated Nginx.
We tried Nginx before using HAProxy, but HAProxy was far better than Nginx, especially because of the syntax. We had a script that auto-reloads HAProxy, making it a superior choice at that time.
What was our ROI?
We definitely saw fewer employees needed and money saved. We achieved 100% money savings and fewer employees with very little maintenance required. HAProxy has a very community, so we never had to get stuck while troubleshooting or creating new configuration files, resulting in significant time saved.
What's my experience with pricing, setup cost, and licensing?
Since we used the open-source version, we were not concerned about pricing, setup cost, or licensing.
Which other solutions did I evaluate?
My advice for others looking into using HAProxy is that it is really scalable. We used the open-source version, and I think the paid version offers even better options and support. If you are looking for a proxy solution, HAProxy is a good option to consider.
What other advice do I have?
I would recommend moving forward with HAProxy. I am rating this review a 10 out of 10.
Which deployment model are you using for this solution?
Hybrid Cloud
If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?
Amazon Web Services (AWS)