Load Balancer Guide
networking
]
Features
| Govardhana Miriyala Kannaiah | Govardhana Miriyala Kannaiah |
๐ญ. ๐๐ฎ๐ถ๐น๐๐ฟ๐ฒ ๐๐ฎ๐ป๐ฑ๐น๐ถ๐ป๐ด: Auto-rerouting away from failed components for high availability and minimal downtime
๐ฎ. ๐๐ป๐๐๐ฎ๐ป๐ฐ๐ฒ ๐๐ฒ๐ฎ๐น๐๐ต ๐๐ต๐ฒ๐ฐ๐ธ๐: Regularly monitors and verifies the instances health, ensuring incoming traffic solely to operational, healthy instances
๐ฏ. ๐ฃ๐น๐ฎ๐๐ณ๐ผ๐ฟ๐บ ๐ฆ๐ฝ๐ฒ๐ฐ๐ถ๐ณ๐ถ๐ฐ ๐ฅ๐ผ๐๐๐ถ๐ป๐ด: Directs platform-specific (mobile, desktop etc.,) requests to separate backend servers for tailored responses
๐ฐ. ๐ฆ๐ฆ๐ ๐ง๐ฒ๐ฟ๐บ๐ถ๐ป๐ฎ๐๐ถ๐ผ๐ป: Offloads SSL encryption/decryption, easing backend server load
๐ฑ. ๐๐ฟ๐ผ๐๐ ๐ญ๐ผ๐ป๐ฒ ๐๐ผ๐ฎ๐ฑ ๐๐ฎ๐น๐ฎ๐ป๐ฐ๐ถ๐ป๐ด: Evenly distribute traffic across multiple availability zones, enhancing fault tolerance and scalability
๐ฒ. ๐จ๐๐ฒ๐ฟ ๐ฆ๐๐ถ๐ฐ๐ธ๐ถ๐ป๐ฒ๐๐: Ensures session continuity and personalized experiences by connecting users to specific backend servers

Strategies
| Leo Coelho | Leo Coelho |
The primary responsibility of a Load Balancer is to evenly distribute incoming network traffic across multiple servers or containers.
-
The Load Balancer applies its load balancing strategy to select an available container to handle the request.
-
The Load Balancer routes the request to the chosen container running the application.
-
The container processes the request, generates a response, and sends it back to the client (via the Load Balancer and API Gateway).
Here are some common load-balancing strategies.
Round Robin
- Round Robin: distributes sequentially across the available containers.
Least Connection
- Least Connection: forwards to the container with the fewest active connections.
IP Hash
- IP Hash: use the clientโs IP address to determine the container to handle the request. It ensures that a given client always reaches the same container.
Weighted Round Robin
- Weighted Round Robin: Each container is assigned a weight, and requests are distributed based on the assigned weights. Containers with higher weights receive a proportionally larger share of requests.est. It ensures that a given client always reaches the same container.