Navjyot Singh
Navjyot Singh's Blog

Navjyot Singh's Blog

Lets learn about Load balancer

Navjyot Singh's photo
Navjyot Singh
·May 17, 2021·

2 min read

A brief about load balancers Load balancing from its name itself suggests it is something related to balancing but what? So, load here refers to the amount of traffic. We all know that today's modern website should be capable of serving at least thousands of concurrent users and to be frank thousands of users is not a big deal for a modern single server. But the complexities come in when there are lots of complex calls inclusive of the huge amount of data associated with just one user and that that is where our single sever fails and the use of multiple servers with a load balancing comes into play. Modern computing practice generally requires adding more servers.

loadbalancer.png

What is the role of the load balancer? The load balancer can be simply considered as a traffic police officer standing and managing all the vehicles i.e user requests so that equal load is distributed among all the roads i.e servers for the super smooth and asynchronous working of the roads i.e servers. The basic function of the load balancer is routing client requests and mapping them with the servers in a way so that maximum efficiency can be received without degrading the user experience. Also, if roadblocks the officer manages to diverge the traffic similarly if any server goes down the load balancer ensured that the product is upended running by disturbing traffic to other servers.

Here is a diagram explaining the use of a load balancer

lbfull.png

So what is the function of a load balancer in short

This can be explained in simple points

Distributes client requests or network load efficiency across multiple servers Make sure that the product is always up and running if any of the servers goes down by distributing its traffic among others. Provides high scalability and cost reduction by catering and using the server according to the needs.

 
Share this