What is our primary use case?
I use it for managing Redis clusters where I have a front-end for a read-write and a front-end for a read-only. I have no idea who else in my company uses it. I had opted to use this because we have silos in our company. We have a network silo that does the load balancing, and I wanted to control how these tests worked with the load balancing. I wanted them to do load balancing where they hand off like a TCP Fast Open. They perform a check on these services with TCP Fast Open.
For example, there is one free HAProxy service for each node, and they use TCP Fast Open for things like that. It's flipped to the HAProxy, and then they establish a persistent connection. It's more of a hand-off, and then I can do all the magic. You can do most of the things I'm doing with HAProxy in F5 too. However, it's siloed off and takes a long time to get things done. I don't have any agility. I took that upon myself with HAProxy because it's a lot quicker to do it myself instead of waiting weeks for somebody else to do it.
What is most valuable?
The most valuable thing for me is TCP/IP Layer 4 stuff you can do with HAProxy. You can go down to the protocol level and make decisions on something.
What needs improvement?
The logging is pretty hard to understand, but the documentation for the logging is decent. That would be my only criticism. Sometimes it's challenging to get through the log, and you need a log to understand what is going on. It isn't easy to map the logging with the documentation, and every time I read the log, I have to pull out the documentation to understand what I'm reading.
And there is some more functionality that I would like to see. For example, you'll do a TLS to the front leg— whatever connects to your load balancer. You do the HTBS or whatever TLS connection there. And then, on the back end, you usually have to clear it a lot of times. I want to be able to do TLS all the way through on both legs. I don't know if it can do that. HAProxy might be able to do this already, but I haven't done enough research to see if this is possible
For how long have I used the solution?
Probably about two years now.
What do I think about the stability of the solution?
HAProxy is rock solid. I'm pleased with it.
What do I think about the scalability of the solution?
HAProxy is scalable. It easily handles the current loads, but my connections are pretty low. It can take a lot more than what I'm doing. I'm making around 200 connections per second, which doesn't put much stress on the solution. HAProxy can handle it pretty easy.
How are customer service and support?
I've never used any tech support. I just use the freeware.
How was the initial setup?
The setup was pretty straightforward. When I started using HAProxy, I played around with it in a container and built from source, so I got a good feel for what it could do. And then I picked up a book called Load Balancing With HAProxy. After I read that, I felt confident I could use this service in a production setting. I was able to tune the knobs I needed to adjust and understand things pretty well. The book is pretty decent, but I wouldn't mind seeing a newer version of it. It was helpful.
The HAProxy documentation on the web isn't bad, but the book is much nicer for me. I like to see how the authors apply HAProxy to specific use cases and leverage things. Also, they explain how to do something, whereas the documentation only tells you about the features and parameters. Sometimes it's hard for the documentation to show the importance of a feature and express how to do what you want.
What's my experience with pricing, setup cost, and licensing?
I'm using the freeware version. I have no idea if there is a paid solution because I've never looked into it. I might in the future if I have a use case for it. But right now, I'm leveraging the free version, and it seems to fit well in this stack because I'm using the free Redis.
What other advice do I have?
I would rate HAProxy nine out of 10. My biggest recommendation for any new HAProxy user is to read Load Balancing With HAProxy by Nick Ramirez. If you're thinking about using HAProxy and you want to get your feet wet, read this book and follow along with it. Determine whether you're trying to do an HAProxy for a web service or something else and concentrate specifically on those pieces. I read the whole book and enjoyed it, but you can focus on one thing if you need to. This book is short, and you can just read the whole thing to understand it.
Which deployment model are you using for this solution?
On-premises