3 ms·
Can anyone tell me how HAProxy compares to Varnish? I've used the latter and swear by it, but I've never used HAProxy. Is it as amazingly fast at caching as Var
by StavrosK 14y ago
Can anyone tell me how HAProxy compares to Varnish? I've used the latter and swear by it, but I've never used HAProxy. Is it as amazingly fast at caching as Varnish is?
Right now I do nginx (for SSL) -> Varnish (caching) -> nginx (static media/proxying) -> gunicorn (Django). I'd love to remove many of those parts.
- wmf 14y agoLast I heard, HAProxy does not perform any caching. I agree that fewer components in the stack would be an improvement, but we seem to be in the minority.
- ibotty 14y agoyou are part of a vocal minority. there is a reason though for the unixy model of operation with more (well-defined as proxys usually are) smaller components.
- ibotty 14y agosee the official haproxy blog about it: [1] and [2]. i think it's a valid comparison. but as i said in my submission of the first of these articles, there are some (minor) mistakes. [1] http://blog.exceliance.fr/2012/07/04/haproxy-and-varnish-comparison http://blog.exceliance.fr/2012/07/04/haproxy-and-varnish-com... [2] http://blog.exceliance.fr/2012/08/25/haproxy-varnish-and-the-single-hostname-website/ http://blog.exceliance.fr/2012/08/25/haproxy-varnish-and-the... [3] https://news.ycombinator.com/item?id=4198339 https://news.ycombinator.com/item?id=4198339