Load Balancing

Load Balancing

Spreading traffic at every layer that has one
Free
4h · 5 lessons
Overview

Load balancing at each layer, consistent hashing, rate limiting, and getting session state out of the way so a service can be cloned. Then search, which is the one subsystem that scales differently from everything else.

This module is 05.1 of the 5 in Scaling & Traffic. It runs about 4 hours across 5 lessons, and closes with Spread — Balance uneven traffic across uneven machines, then lose one of them mid-round.

Lessons
1. L4 and L7, and when the difference matters

Concept · 35 minutes

2. Algorithms: round robin to least outstanding

Concept · 35 minutes

3. Health checks and slow drain

Concept · 30 minutes

4. DNS, anycast and global balancing

Concept · 35 minutes

5. Service mesh and client-side balancing

Concept · 35 minutes

Module information
Duration
4 hours
Lessons
5
Level
Intermediate
Track
Scaling & Traffic
Drill
Spread
Price
Free

Related modules

Consistent Hashing
3 hours
5 lessons
Intermediate
Consistent Hashing
Free
05.2
Rate Limiting & Quotas
3 hours
5 lessons
Intermediate
Rate Limiting & Quotas
Free
05.3
Stateless Services & Session State
3 hours
5 lessons
Intermediate
Stateless Services & Session State
Free
05.4
Search & Indexing at Scale
4 hours
5 lessons
Intermediate
Search & Indexing at Scale
Free
05.5