Earlier quoted context omitted.
Why not use HAProxy for HTTP proxying? If you want to drop one component from the stack it could just as well be NGINX.
Because HAproxy's ability to work with URLs and headers is close to unusable.
NGINX open sources TCP load balancing
41–50 of 121 posts
Re: NGINX open sources TCP load balancing
#42Earlier quoted context omitted.
HAProxy is used for TCP too. The main benefit from my perspective is that there is one less component in the stack. Whereas I would previously need HAProxy running alongside NGINX to balance TCP and HTTP, I can now do all of this with NGINX.
But why not just use HAProxy? It is often used for plain TCP load balancing (we use it).
Re: NGINX open sources TCP load balancing
#43Re: NGINX open sources TCP load balancing
#44Re: NGINX open sources TCP load balancing
#45can this loadbalance redis and memcache?
http://blog.haproxy.com/2014/01/02/haproxy-advanced-redis-he...
Re: NGINX open sources TCP load balancing
#46Can someone explain how this is superior to HAproxy?
HAProxy's primary feature is HTTP/HTTPS load balancing. This new feature competes only with HAProxy's TCP load balancing support. Note that Nginx already has a simple proxy built in that does very basic HTTP load balancing. HAProxy's is vastly superior to Nginx's in that it supports a sophisticated set of filters ("ACLs"), transformations (eg., header rewriting), queue behaviours (eg., queue limits, backup backends,…
Re: NGINX open sources TCP load balancing
#47Many installations would go from haproxy->nginx to nginx->nginx. Having to support a single product will make many devops happy. In the same tense, haproxy is adding Lua support[1], which has been available in nginx - using openresty[2] - since 2011, and nginx core is doing the same with Javascript[2]. Interesting times aroung haproxy and nginx. [1] http://blog.haproxy.com/2015/03/12/haproxy-1-6-dev1-and-lua/ [2] htt…
As for supporting a single product, I don't see the point of that. Using Nginx for load balancing will probably be much different than using Nginx as a web server, so the learning curve is similar.
Not that I don't welcome competition, I just don't see a real need in this space.
EDIT: btw, the Lua thing was an April Fool's joke...
EDIT 2: no it wasn't, my mistake. I was surprised by this so I checked the page and jumped a gun when I saw "April 1st" on http://www.haproxy.org/news.html. Sorry about that...
Re: NGINX open sources TCP load balancing
#48Earlier quoted context omitted.
HAProxy's primary feature is HTTP/HTTPS load balancing. This new feature competes only with HAProxy's TCP load balancing support. Note that Nginx already has a simple proxy built in that does very basic HTTP load balancing. HAProxy's is vastly superior to Nginx's in that it supports a sophisticated set of filters ("ACLs"), transformations (eg., header rewriting), queue behaviours (eg., queue limits, backup backends,…
Actually, Nginx has a couple of different load balancing algos that you can pick from -- http://nginx.org/en/docs/http/load_balancing.html
Re: NGINX open sources TCP load balancing
#49Earlier quoted context omitted.
But why not just use HAProxy? It is often used for plain TCP load balancing (we use it).
Professional support services is quite important. I don't know if HAProxy provides it but I know nginx does.