Grokking System Design Fundamentals
Ask Author
Back to course home

0% completed

Vote For New Content
Raj Kumar Nishad
why least connections have a use case of stateful application

Raj Kumar Nishad

Dec 1, 2024

As for stateful application all the requests for a session should go to single server ?

6

0

Comments
Comments
Design Gurus
Design Gurus8 months ago

That is right, for a stateful application all requests of a session should go to a single server. Hence, it becomes important to distribute active sessions. All requests of an active session will go to the same server but new connections should be distributed to other s...

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