← Courses
🎓
IntermediatecourseBootcamp access

Redis & Caching Strategies Guide

``` EN: Master Redis as a professional caching layer with FastAPI: data types, caching patterns, rate limiting, sessions, Pub/Sub and async integration. ES: Domina Redis como capa de caching profesional para tus APIs con FastAPI. Aprenderás los 5 data types con criterio (no solo strings), los 3 patterns de caching fundamentales (cache-aside, write-through, write-behind), rate limiting con sliding window y sorted sets, session storage que complementa JWT, Pub/Sub para eventos asíncronos, e integración async con FastAPI usando `redis.asyncio` (el cliente oficial — no la librería deprecada `aioredis`). Es una guía intermedia que cierra el bloque de infraestructura backend del Path Backend Python Developer antes de Testing. ```

25

Lessons

5

Modules

🎓

Bootcamp access

Lo que aprenderás

Install and operate Redis with confidence: CLI commands, the 5 data types, redis-py
Implement the 3 fundamental caching patterns (cache-aside, write-through, write-behind) with judgment
Design TTL strategies and solve cache invalidation (manual, event-driven, version-based)
Prevent cache stampede with locking and probabilistic early expiration
Build professional rate limiting with token bucket and sliding window using sorted sets
Use Redis as a session store complementing JWTs for immediate revocation
Implement Pub/Sub for cache invalidation events and lightweight messaging
Integrate Redis with FastAPI async: dependency injection, middleware, connection pooling, graceful degradation
Monitor cache performance: hit rate, miss rate, latency with/without cache
Deploy a production-ready API stack with FastAPI + PostgreSQL + Redis in Docker Compose

¿Para quién es?

  • Backend developers who built FastAPI APIs and need to optimize performance for real traffic
  • Engineers whose PostgreSQL is saturated with repetitive queries returning the same data
  • Developers building APIs in production that need rate limiting against abuse
  • Engineers who used Redis superficially as a key-value store and want to master professional patterns
  • Teams that need session management with immediate revocation (JWT alone is not enough)

Requisitos

  • FastAPI intermediate: endpoints, Pydantic, dependency injection (Guides #6-7)
  • Python async/await basics
  • Familiarity with REST APIs and HTTP semantics
  • Docker basics (to run Redis in a container — no DevOps required)
  • Basic database concepts (you'll see PostgreSQL as the source of truth, but don't need to be an expert)

Course content

1Módulo 1: Redis Fundamentals — Guía para el Creador5 lessons
2Módulo 2: Caching Patterns & TTL — Guía para el Creador5 lessons
3Módulo 3: Rate Limiting & Session Storage — Guía para el Creador5 lessons
4Módulo 4: Pub/Sub & FastAPI Integration — Guía para el Creador5 lessons
5Módulo 5: Proyecto Integrador — API con Caching Strategy — Guía para el Creador5 lessons
Reviews

What students say

These reviews are from enrolled students who completed at least 50% of the course. We moderate reviews only on content grounds (spam, offensive language, personal data), never for being critical or negative.

No approved reviews yet.

Be the first to share your experience!