Grokking System Design Fundamentals
Ask Author
Back to course home

0% completed

Vote For New Content
Himanshu Gupta
Load utilization of the least connections algo

Himanshu Gupta

Jan 14, 2025

I believe this might not be the most efficient algorithm in terms of resource utilization. Reason being, it checks the server with the fewest active connections, however, a server with the fewest active connections might be the one with the most capacity ??

Is my reasoning correct, or am I missing something ??

0

0

Comments
Comments
M
muralidharghanta 9 months ago

All other types make a difference at scale. It would depend on the application that we wanted to support.

.

This is suited for web applications where the session must persist and ensure user requests are distributed equally.

When dynamic workloads (like API/data p...

On this page

  1. Round Robin

Use Cases

  1. Least Connections

Use Cases

Comparison to Round Robin

  1. Weighted Round Robin

Pros

Cons

Use Cases

  1. Weighted Least Connections

Pros

Cons

Use Cases

  1. IP Hash

Example

Pros

Cons

Use Cases

  1. Least Response Time

How Least Response Time Load Balancing Works

Pros

Cons

Use Cases

  1. Random

Pros

Cons

Use Cases

  1. Least Bandwidth

Pros

Cons

Use Cases

  1. Custom Load

How Custom Load Load Balancing Works

Pros

Cons

Use Cases