A Simpler Load-Balancing Setup With HAProxy  

By Jesse Gallagher | 2/8/21 2:47 AM | Infrastructure - Notes / Domino | Added by Roberto Boccadoro

...where by "simpler" I mean relative to the setup I detailed six years ago. For a good long time now, I've had a reverse-proxy + load balancer setup that uses nginx for the main front end and HAProxy as an intermediary to do the actual load balancing. The reason I set it up this way was that I was constrained by two limitations: nginx's built-in load balancing didn't do sticky sessions like I needed, which would break server-side-state frameworks like XPages HAProxy didn't do HTTPS In the intervening half-decade, things have improved. I haven't checked on nginx's load balancing, but HAProxy sprouted splendid HTTPS capabilities. So, for the new servers I've been setting up, I decided to take a swing at it with HAProxy alone.