How does HA proxy use bandwidth

bandwidthbandwidth-measuringhaproxy

We're using HA proxy for load balancing web servers. How does bandwidth usage work for HA proxy? HA proxy is on a different network than the web servers. Does the bandwidth that ends up being used come from HA proxy to the client loading the web site, or does HA proxy simply route the connection to the web server directly and the web server uses its own bandwidth?

Thanks for the help!

Best Answer

As the name states, HAProxy will work as a proxy and for the client, it looks like it speaks only to the HAProxy server, while it transparently forwards the traffic to one of several backend application servers (which usually aren't accessible from the outside). Thus, you will use the bandwidth between the HAProxy and the backend servers plus about the same amount again between the HAProxy server and the client.

How this model fits in your question you have to know yourself because I don't understand what you mean.

Related Topic