Stateless Services & Session State

Stateless Services & Session State

Making a server safe to clone or kill
Free
3h · 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.4 of the 5 in Scaling & Traffic. It runs about 3 hours across 5 lessons, and closes with Cattle — Kill a random instance every thirty seconds. Keep every logged-in user logged in.

Lessons
1. What "stateless" actually requires

Concept · 30 minutes

2. Sessions: sticky, shared and token-based

Concept · 35 minutes

3. Where configuration and secrets live

Concept · 30 minutes

4. Graceful shutdown and connection draining

Concept · 30 minutes

5. Autoscaling on the right signal

Concept · 30 minutes

Module information
Duration
3 hours
Lessons
5
Level
Intermediate
Track
Scaling & Traffic
Drill
Cattle
Price
Free

Related modules

Search & Indexing at Scale
4 hours
5 lessons
Intermediate
Search & Indexing at Scale
Free
05.5
Load Balancing
4 hours
5 lessons
Intermediate
Load Balancing
Free
05.1
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