HAProxy Review

Reduced the load on our main load balancers


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: I am a real user, and this review is based on my own experience and opinions.
1 Comment
Haim AriVendor

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"

https://devops.haim-ari.com/tutorials/2019/05/19/build-docker-haproxy-cluster-with-ansible.html

Hope this helps out
cheers

19 May 19
Guest

Sign Up with Email