What is load balancing?
1 min read
On the Internet, load balancing is where you spread traffic across many servers.
This process reduces the strain on each server, making it more efficient and faster to respond to requests.
How it works
Imagine a checkout line at the grocery store.
If only one register is open, the line is going to be long and move slowly. Additionally, the employee at the register is going to be stressed. They have a lot of work to do, likely without any breaks and with increasingly frustrated customers.
As the store manager, you could solve the problem by opening more checkout lines. Customers can spread out to different lines and move faster. And your employees can do their job without as much stress.
Much in the same way, a load balancer distributes traffic across many servers. Without load balancing, too many requests might hit the same server and make it work too hard.
A load balancer spreads requests across your servers, which prevents any one server from working too hard. Load balancing also makes your servers more efficient and lets them respond faster to incoming requests.
Related resources
For more background information on load balancers, refer to our Learning Center.
Unit 1 of 4