HAProxy is a free and open-source load balancer that enables IT professionals to distribute TCP-based traffic across many backend servers. In this book, the reader will learn how to configure and leverage HAProxy for tasks that • Setting up reverse proxies and load-balancing backend servers • Choosing the appropriate load-balancing algorithm • Matching requests against ACLs so that we can route them to the correct servers • Monitoring servers with health checks so that failure is detected early • Managing server persistence so that a client's can be directed to the server where their session data is stored • Configuring verbose logging for TCP and HTTP-based services • Enabling SSL encryption, gzip compression and geolocation • Modifying HTTP headers, rewriting URLs and setting up redirects • Defending against malicious Web activity • Controlling HAProxy from the command line • Adding a backup load balancer
This is a very good book to understand haproxy and it's configuration. It is the starting point for exploring the various features of this tool. The author begins with basic concepts adding more explanations for advance features towards the latest chapters. I'd recommended it to anyone that starts the journey of using haproxy in their infrastructure.
This oriented me pretty well to what is possible with HAProxy. The code examples are formatted a little funky on my Kindle display, but still readable. I’m glad I spent the time reading it from cover to cover, so to speak. There wasn’t much at all that I didn’t find applicable to my needs.
Great description and config examples for each feature. Also covers HA considerations like HA pairs of HAProxy instances. A must-read if you’re using HAProxy.
I very much enjoyed reading this book. The only real criticism I have is that the author forgot to add a table of contents at the start of the book. Other than that it was very well written and covers most if not all of the topics that need to be covered.