● Backend/Intermediate

Caching

In-memory, Redis, CDN, invalidación, cache stampede.

Descripción

Caché mal invalidada es peor que no cachear. Aprende TTLs, cache-aside vs write-through, invalidación por eventos, single-flight/dogpile prevention. La cita clásica: 'hay dos problemas difíciles en CS: naming, cache invalidation, y off-by-one'.

Preguntas de interview

  • Cache-aside vs write-through.
  • ¿Cómo previenes cache stampede?
  • TTL y jitter.

Tu nota