Caching & Scaling
Caches and the techniques for scaling reads and writes.
4 notes · 31 min total
- 1CachingAudioWhy caches make reads fast, where they live, how data gets in and out, and how to keep cached data fresh.10 min
- 2Distributed CacheAudioWhen to put a shared cache cluster in front of your database, Redis vs Memcached, spreading keys across nodes, and preventing stampedes.4 min
- 3Scaling ReadsAudioHow read replicas, caches, CDNs, denormalization, search indexes and CQRS each take read load off your primary database.8 min
- 4Scaling WritesAudioHow to handle more writes than one database can take: cheap optimizations first, then queues, batching, partitioning and sharding.9 min