2 ms·
I would say HAProxy is a better load balancer, than a web server. I like to have a few NGINX instances as the actual web servers sitting behind a HAProxy instan
by osrec 4y ago
I would say HAProxy is a better load balancer, than a web server. I like to have a few NGINX instances as the actual web servers sitting behind a HAProxy instance that spreads load across them.
- ilyt 4y agoHAProxy is not a web server in the first place. The only thing it serves, from memory only (need reload to change) are error pages.
- wtarreau 4y agoOr the cache :-) (also "return" directives but that doesn't count).
- wtarreau 4y agoI definitely agree. If you need the best load balancer, take haproxy. If you need the best web server, take nginx. The two combined work amazingly well together, that's why they're very often found together :-)