Distributed Caches

Distributed Caches

A cache that is itself a distributed system
Free
4h · 5 lessons
Overview

Cache placement, eviction and the invalidation problem; distributed caches and their failure modes; CDNs, the edge, and how large media actually reaches a browser. The cheapest scaling you will ever do, and the easiest to get wrong.

This module is 03.2 of the 4 in Caching & Delivery. It runs about 4 hours across 5 lessons, and closes with Thundering Herd — The cache tier restarts under full traffic. Keep the database alive.

Lessons
1. Client-side sharding and cache topology

Concept · 35 minutes

2. Redis and Memcached, compared honestly

Concept · 35 minutes

3. Cache coherence across a fleet

Concept · 35 minutes

4. The cold-start problem after a restart

Concept · 30 minutes

5. Failure: what happens when the cache is gone

Concept · 35 minutes

Module information
Duration
4 hours
Lessons
5
Level
Intermediate
Track
Caching & Delivery
Drill
Thundering Herd
Price
Free

Related modules

CDNs & the Edge
4 hours
5 lessons
Intermediate
CDNs & the Edge
Free
03.3
Object Storage & Media
4 hours
5 lessons
Intermediate
Object Storage & Media
Free
03.4
Cache Strategies & Invalidation
4 hours
5 lessons
Intermediate
Cache Strategies & Invalidation
Free
03.1
Queues & Background Workers
4 hours
5 lessons
Intermediate
Queues & Background Workers
Free
04.1