Load Balancing

Load balancing is the practice of distributing a workload across multiple computers. It is typically performed to spread network traffic evenly between a group of web servers, but may also divide up other computational tasks like database queries and data mining. It prevents a single server from becoming overwhelmed while other servers in the cluster sit idle. By removing bottlenecks, proper load balancing helps improve the performance of servers hosting websites and web applications.

If a single web server suddenly gets five or ten times as many requests per second as it usually does, it may struggle to keep up with that demand. It may serve content slower than usual or even crash under the load. Balancing those requests between multiple servers helps keep websites and web applications available and responsive. Load balancing even works across several locations, so if one server's Internet connection is saturated, requests can go to another data center to use bandwidth more effectively.

Whether load balancing happens on a local network or in a large data center, it requires dedicated hardware or software to divide incoming traffic between servers. These hardware devices and software programs are known as load balancers. When it receives incoming traffic, a load balancer distributes requests using a load-balancing algorithm. Static algorithms distribute tasks in a predetermined pattern like a round-robin sequence, or in a randomized order. Dynamic algorithms instead consider each server's current load to route tasks to the least busy servers. Dynamic balancing across a distributed CDN may also consider geography by routing requests to the server nearest to the client, reducing latency by reducing the distance data packets need to travel.

Updated November 28, 2023 by Brian P.

quizTest Your Knowledge

The FDDI networking specifications were standardized in what decade?

A
1980s
0%
B
1990s
0%
C
2000s
0%
D
2010s
0%
Correct! Incorrect!     View the FDDI definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Load Balancing on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.