Grokking System Design Fundamentals
Ask Author
Back to course home

0% completed

Vote For New Content
Sid D
How is IP hash LB useful for geographic affinity?

Sid D

Apr 21, 2025

An IP can map to any server from the pool. Its not possible that an IP from a specific region maps to a specific server that is geographically close to it. Then why is it mentioned that IP hash LB is useful in geographically distributed clients?

3

0

Comments
Comments
garvit taneja
garvit taneja5 months ago

I have the same question

Abdelhak DJEDAINI
Abdelhak DJEDAINI3 months ago

It's useful when we want to route client requests from specific region to specific server, let's say we have 3 servers (0, 1 , 2)

Server 0 is in Europe

Server 1 is in Asia

Server 3 is in Africa

Every request come from Asia should be mapped to the server 1

At thi...

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