Learn Labs
Why Redis

Self-test

Check your understanding

Self-test6 questions

—/6
  1. Give the three design decisions that make Redis fast, and the cost of each.

  2. Why is every single Redis command atomic without any locking?

  3. Compare Redis with Postgres on latency and on what happens to an acknowledged write during a crash.

  4. Name four problems Redis is a good fit for and three it isn't.

  5. What's the risk in gradually storing "source of truth" data in a Redis cache?

  6. Design question

    Your team wants to move the orders table from Postgres to Redis "for speed." Make the case for what to do instead.