Everything about Load Balancer with Cheat Sheet

Love Sharma
ByteByteGo System Design Alliance
6 min readNov 27, 2021

--

The Load Balancers play a significant role in any System Design. And the beauty of its design is that every engineer takes it for granted that this will work — one of the best system designs, and there is a lot to learn from this simple yet powerful solution. The LB acts as a middle-man between clients and servers; the client sends requests to LB and internally, via physical NIC to VIPs, forwards to attached web servers.

Load Balancers

In a nutshell, Load balancing is distributing network traffic across multiple servers based on several different algorithms. Load balancing handles by a tool or application called a Load Balancer. A Load Balancer can be either hardware-based or software-based. Hardware load balancers require the installation of a dedicated load-balancing device; software-based load balancers can run on a server, on a virtual machine, or in the cloud.

Brief of Load Balancer

Suppose the total traffic on the service converges only to a few machines. In that case, this will not only overload them, resulting in an increase in the application's latency and killing its performance, but it will also eventually bring them down.

Load balancing helps us avoid all this mess. While processing a user request, the load balancer automatically routes the future requests to other up-and-running servers…

--

--

Love Sharma
ByteByteGo System Design Alliance

Love is an experience cloud engineer with a demonstrated history of building large scale enterprise application.