The app for independent voices

If I had to load balance traffic, here are 6 algorithms I'd consider:

1 Round robin

↳ The load balancer forwards the request to the servers in a sequential order

2 Weighted round robin

↳ The load balancer forwards the request based on server capacity

3 Least connections

↳ The load balancer forwards the request to the server with the fewest connections

4 IP hash

↳ The load balancer forwards the request based on client's IP address

5 Least response time

↳ The load balancer forwards the request to the fastest responding server

6 Adaptive

↳ The load balancer forwards the request based on server health

What else should make this list?

——

👋 PS - I wrote an article on load balancing algorithms in my newsletter (with visuals):

newsletter.systemdesign…

May 19
at
11:54 AM
Relevant people

Log in or sign up

Join the most interesting and insightful discussions.