Caching

Caches keep hot data close to where it is used to cut latency and database load. These lessons cover cache-aside, write-through and write-back strategies, eviction policies, TTLs and cache invalidation in practice.

38 lessons across 13 courses

Caching lessons by course

Designing and Building a High-Scale PHP Content Management System

View course →
  1. Day 48: Redis Pub/Sub: Cross-worker event broadcasting.
  2. Day 59: Multi-layer Caching: Balancing disk and memory storage.
  3. Day 61: Caching Hierarchy: L1 (Local), L2 (Redis), L3 (Varnish).
  4. Day 64: Tag-Based Invalidation: Grouping related cache keys.
  5. Day 65: Varnish & ESI: Hybrid caching for dynamic fragments.
  6. Day 68: Probabilistic Eviction: Managing memory limits at scale.
  7. Day 69: Session Scaling: Implementing Redis-backed persistent sessions.
  8. Day 70: Cache Warming: Pre-populating high-traffic content.

Hands-On Distributed Systems Engineering in Java

View course →
  1. Day 5: Improving Latency – Basic Caching with Redis
  2. Day 18: Distributed Caching – Redis Cluster and Partitioning
  3. Day 30: Advanced Caching – L1/L2 Hierarchies and Hot Keys
  4. Day 41: Cache Replacement Algorithms – Beyond LRU

Flutter App Development: High-Fidelity Travel App Engineering

View course →
  1. Day 22: Response Caching with Hive TTL.
  2. Day 34: Search and Filter Logic: Architecting high-performance search with debouncing and local caching.
  3. Day 63: Distributed Caching: Using Redis to speed up flight search results across regions.
  4. Day 69: Image Asset Optimization: Using WebP and memCacheWidth to save memory.

Spring Boot Microservices: From Design to Deployment

View course →
  1. Day 30: Redis as a Distributed Cache. The Unseen Advantage: Taming Latency with Your Memory Guardian
  2. Day 31: Cache Eviction and Consistency – The Architect’s Sword Against Stale Data
  3. Day 35: Read-Through and Write-Behind Caching.

Hands-On Frontend Development: Build Production-Ready Web Applications

View course →
  1. Day 28: Transform the Dashboard into an Installable Progressive Web App (PWA) — and Witness Its Functionality Disappear Without Offline Caching
  2. Day 29: Add a Service Worker for Offline Support and Caching Strategies — and Test the Dashboard’s Resilience During a Simulated Network Outage

MLOps Engineering – From Training to Automated Production

View course →
  1. Day 41: Pipeline Caching: Optimizing Developer Velocity through Component Reuse
  2. Day 66: Paged Attention and KV Caching: Scaling LLM Inference to Millions of Tokens

Designing Resilient API Architectures at Scale: REST, GraphQL, and gRPC

View course →
  1. Day 6: Write an Idempotent REST Order API with Conditional HTTP Headers — and Verify Cache Invalidation at the Edge

Architecting Enterprise Platforms on Local Systems

View course →
  1. Day 76: Catalog Read – The Art of Local Cache Mastery for Hyper-Scale Throughput

Hands-On Distributed Systems Engineering in Go

View course →
  1. Day 68: Buffer Cache Management (LRU)

Building a Geospatial Data Warehouse with PostgreSQL & PostGIS

View course →
  1. Day 14: Caching Bounding Boxes for complex geometries.

MongoDB 8: From Basics to Scalable Architecture

View course →
  1. Day 4: Verifying Per-CPU Cache Status

System Design with Data Structures & Algorithms

View course →
  1. Day 14: Caching Layer

Modern Frontend Mastery: Building a SaaS Dashboard

View course →
  1. Day 10 : Data Caching Strategies: Stale-While-Revalidate and Beyond

Related topics