When using TCP load balancing with HAProxy, does all outbound traffic flow through the LB?

Posted by user122875 on Server Fault See other posts from Server Fault or by user122875
Published on 2012-05-30T13:08:24Z Indexed on 2013/06/25 16:23 UTC
Read the original article Hit count: 283

Filed under:
|
|

I am setting up an app to be hosted using VMs(probably amazon, but that is not set in stone) which will require both HTTP load balancing and load balancing a large number(50k or so if possible) of persistant TCP connections. The amount of data is not all that high, but updates are frequent.

Right now I am evaluating load balancers and am a bit confused about the architecture of HAProxy. If I use HAProxy to balance the TCP connections, will all the resulting traffic have to flow through the load balancer? If so, would another solution(such as LVS or even nginx_tcp_proxy_module) be a better fit?

© Server Fault or respective owner

Related posts about load-balancing

Related posts about haproxy