Skip to content

Redis caching: the invalidation I got wrong first

Cache-aside looked simple until two writers raced. What I changed, and what I would measure before adding a cache next time.

, 10 min read

Filed under

  • Caching
  • Redis

Related

  1. Architecture Lab, , 16 min read

    Designing a URL shortener

    The classic interview system, built small and measured: where the reads go, what the cache is for, and the one decision that made everything else easy.

    • Caching
    • Redis
    • PostgreSQL
    • +1 more
  2. Journal, , 5 min read

    The bug that only appeared on Fridays

    A cache warm-up running on a schedule nobody remembered setting. A short story about assumptions hidden in configuration.

    • Debugging
    • Redis

Next

Have a system worth arguing about?

If this note raised a question, or you would have designed it differently, I would like to hear it.

Start a conversation