Skip to content
PMInterviewKit
← All questions
Technicalstandard

What is a cache, and what could go wrong if your product relies on one?

How to approach it

Define a cache in one sentence, then focus on the product risk: showing users old or wrong data.

How a strong answer opens

“A cache is a fast store of recent results, so you can skip slow work like a database query. The product risk is that it can show users old or wrong data.”

Outline of a strong answer

Try answering out loud for a few minutes before you open this.

  1. Definition: a fast store of recent results so you skip slow work
  2. Examples: browser cache, CDN, in-memory cache in front of a database
  3. Benefit: speed and lower cost
  4. Risk: stale data, such as a price or stock level that has changed
  5. Risk: a cache failure suddenly sends all traffic to the database
  6. PM decision: which data can be a little stale and which never can

Where this question usually goes wrong

Presenting caches as pure speed wins without mentioning stale data or what happens when the cache fails.

Learn the method

Technical trade-offs in Module 6, Technical for PMs.

The full kit has worked answers in full, start to finish, for every round type. $129 once.

Get one email when the full kit opens

No spam: just one launch email. See our privacy policy.