I'm using haproxy ("balance uri") inside an intranet to direct traffic
to 4 squid servers in order to cache content normally served directly
by our web server. This web server serves large files (ranging from
10's of MB to several GB)
I'm worried that our haproxy server could be a network bottleneck (the
NIC, not the software) and am wondering if there is a way to use an
http redirect instead of passthrough -- then the actual traffic could
come directly (and only) from the back end squid server and not have
to also pass through the haproxy NIC.
I have a feeling from browsing the docs that haproxy just isn't
intended to be used in this kind of model.
Is it possible to do this? Should I be using a different load
balancer? Or does this kind of redirection have a nasty side effect I
haven't thought of yet?