What is a skipped load balancer? How is it different from proxy load balancing?

Google Cloud Network Load Balancing is an end-to-end load balancer, not proxy load balancing. ( https://cloud.google.com/compute/docs/load-balancing/network/ ).

I can't find any resources at all when going through LB. Both HAProxy and Nginx appear to be LB proxies. My guess is that LB transmission will redirect clients directly to the servers. In what scenarios would this be useful?

Is there any other type of load balancer besides pass and proxy?

+3


source to share


1 answer


It is difficult to find resources to balance the end-to-end load because everyone has come up with a different way to call it: pass-though, direct server return (DSR), direct routing, ...

We'll call this end-to-end.

Let me try to explain the following:



With regard to other types of load balancing, there can be no definitive list, here are some examples:

As for the benefits of end-to-end transmission over other methods:

  • Some applications will not work or need to be adapted if addresses in IP packets change, such as SIP. See Wikipedia for more details on applications that don't play well with NAT https://en.wikipedia.org/wiki/Network_address_translation#NAT_and_TCP/UDP .

    The advantage here is that it doesn't change the source and destination IP addresses.

    Note that for a load balancer running at a higher level, there is a trick for maintaining IP addresses: the load balancer spoofs the client's IP address when connecting to back-end servers. At the time of this writing, the load balancer product does not use this method in the compute unit.

  • If you need more control over the TCP connection from the client, for example to tune TCP parameters. This is the advantage of end-to-end or NAT over TCP proxy (or higher).

+4


source







All Articles