Load Balancer

There are two types of load balancers: hardware and software.

There are different Load balancing strategies

The Load Balanncer can operated at:

  • Layer 4 (Transport Layer)

    • the Load Balancer performs simple TCP packets forwarding between the client and the backend servers.

    • It does not inspect the content of the TCP stream beyond the first packets - Low overhead

  • Layer 7 (Application Layer):

    • can make smarter routing decision based on the HTTP header

    • Load balancer inspects TCP packets and HTTP header

    • Can route requests to different clusters of servers based on:

      • Request URL

      • Type of requested data

      • HTTP method

      • Browser cookies

Last updated