Grokking System Design Fundamentals
Ask Author
Back to course home

0% completed

Vote For New Content
Aldemar Hernández
Why is it stated that maintaining active connections state, session state is maintained ?

Aldemar Hernández

Mar 4, 2025

Why one of the use cases for least connections algorithm is stateful applications if information that must be maintained is active connections to each server and not session state.

0

0

Comments
Comments
G
gabbygabbylexy 6 months ago

I think state is still being maintained by keeping track of the number of active connections per server. That information needs to be stored somewhere and updated regularly.

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