4 ms·
Honest question, is there still a reason to use Nginx over HAProxy?
by LunaSea 10y ago
Honest question, is there still a reason to use Nginx over HAProxy?
- brianwawok 10y agoI think Nginx wins in perf and static hosting still right? And HAProxy wins in failover options.
- Jgrubb 10y agoNginx really is more of a swiss army knife web tool. It does a lot besides just load balancing and reverse proxying, and those things it definitely does better than HAProxy. AFAIK, you can't serve static assets with HAProxy, and HAProxy doesn't have any kind of caching built in, in addition to dozens of other features of Nginx that most people probably don't even know about. In the HA load balancer category I think HAProxy is clearly a more capable tool since that's all it's supposed to do, but there's not really a simple answer to your question.
- drdaeman 10y agoSadly, HAProxy doesn't have subrequests, e.g. X-Accel-Redirect feature.