by sandGorgon · 9y ago · 0 comments
It always seems to me as if haproxy was the superior tool with worse UX/configurability than nginx.
Nginx is good at caching but Varnish is often better.
HAProxy is far better suited to providing load-balanced HA. Regarding this article, this API makes is ideal to dynamically-reconfigure HAproxy, adding and removing servers on-the-fly, which is super-useful in production.
Haproxy itself is efficient as a proxy, however, developing a business system requires a lot of interaction between proxy and the business control processes.
I use both in my applications. nginx for reverse proxy on my python boxes and HAProxy to manage all of them.