Scoping and clarifying
easy 30 minThe prompt is vague on purpose.
When it comes up
The moments this idea belongs in a design interview, and the moments it does not.
In the room
Which questions, which prompt
| Kind of prompt | Ask first | Often the crux |
|---|---|---|
| Booking, tickets | Can two people want the same item? | Contention |
| Feed, photos | Public or private? Followers per person? | Read load |
| Chat, tracking | How old may it be? How many at once? | Open connections |
| Search | Over what, and how new must results be? | Index and freshness |
| Payments | What happens on a retry? | Correctness |
| Cache, queue, limiter | What may be lost, and how ordered? | Guarantees |
Options
The first reply
The interviewer says "Design a recipe sharing site, it must be fast" and waits. What do you do?
BreaksStart drawing
- How
- Web, service, database, cache for speed.
- Limit
- Fast is undefined and search may be missing. You may finish the wrong system.
- Choose when
- Never.
WorksRun a checklist
- How
- Twelve questions: users, growth, regions, devices, languages...
- Limit
- Many answers change nothing, and eight minutes are gone.
- Choose when
- If you pick five of them.
StrongPropose a scope and ask for corrections
- How
- "Post, view, search by ingredient. I read fast as 95 of 100 pages under 300 ms. I assume public recipes and a million daily users. What would you change?"
- Limit
- An assumption can be wrong. It is corrected in seconds.
- Choose when
- Almost always.