Why are they special? Wot's the big deal.
For further actions, you may consider blocking this person and/or reporting abuse
Why are they special? Wot's the big deal.
For further actions, you may consider blocking this person and/or reporting abuse
A A -
JetThoughts Dev -
Nishant Singh -
David Jonson -
Top comments (5)
Load balancers are available in two types but it's job is same .
That is handling network traffic
Have you ever been to a store where the crowd is so high ,such that one employee can't handle them all ??
That's when the store manager sends another one to take care of the crowd . If needed he will add more employees to handle the crowd .
So that each customer will get things done in minimal time .
If the crowd is small, he will remove them from crowd control.
Load balancer's job is similar to the manager's job.
When too many requests from users arrives server it'll take care of requests and split them to other servers . So no machine will be used too much.
Why load balancer exists is , a server machine can accept a limited number of requests . To make them work efficiently and rearrange requests to other machines load balancer exists
You go to a restaurant, the server (Loadbalancer) takes the order from your parents, he then goes to the kitchen and sees that one cook(application server) is busy creating a delicious meal for another a party of 5, the other cook(another application server) is just there drinking water. The server places your order in the queue for the free cook(least loaded app server). He cooks your delicious meal and hands it back to the server (loadbalancer) so he can return to your table with that delicious mac and cheese because remember after all you are just 5.
You are five, you need constant attention when you're home from preschool.
You have two parents, one is busy dealing with your younger sibling, the other is giving you their full attention.
The busy parent will listen to you in a few moments, just right after your younger sibling has been put to bed.
Being this a short story I'm going to insert the following plot device: both parents cannot give their attention to you at the same time.
Have fun :D
It's all about scaling. There are 2 types of scaling:
Load Balancers come in play when you scale horizontally. The individual systems are called nodes in load balancer terminology.
Generally you put load balancer in front of these nodes to handle all the work first. Then the load balancer decides how to spread the load across all nodes.
Features of the load balancer can be summed up as:
TL;DR
Load balancers [can] make your service more reliable, easily scalable, more performant and resilient to outages.
The load balance tells you what sandbox to play in.