Skip to the page

Running the design round · mid

Diagrams, assumptions and trade-off language

For each decision, name at least two options, choose one, and give the reason in one sentence tied to a requirement. Then say what you give up and when you would switch.

The notes

What you must know

  • Template: 'Options are A and B. I'll pick A because <requirement>. The cost is <downside>. If <condition> changes, I'd switch to B.'
  • Three diagrams are enough: (1) boxes: browser, CDN, BFF/API, real-time service, storage; (2) component tree with state owners; (3) data flow for the most important action (send message, add to cart).
  • Label arrows with what flows: 'GET /feed?cursor=…', 'WS message.new', 'SSE order.status'.
  • State assumptions with numbers: '20 posts per page, images ≤ 1 MB, 50k concurrent viewers'.
  • Pushback is a test, not an attack: restate the requirement, compare again, change your mind if the new fact changes the answer.
  • Close each section with one summary line and a question: 'That's the data model. Should I go deeper here or move to the API?'
  • Pairs to have ready: SSR vs CSR, cursor vs offset, WebSocket vs SSE vs polling, normalised vs nested state, optimistic vs pessimistic updates, virtualisation vs pagination, OT vs CRDT, iframe vs script SDK, monolith vs micro-frontends.

The red pen

Common traps: mistake → fix

  • Mistake: 'It depends' is a complete answer

    Fix: say what it depends on, then choose.

  • Mistake: A trade-off is a list of pros and cons

    Fix: tie it to a requirement and decide.

  • Mistake: Changing your answer looks weak

    Fix: refusing to update on new facts looks worse.

Easy to hard

Questions interviewers ask, easy to hard

  1. Why WebSockets and not polling here?
  2. What do you lose with that choice?
  3. The interviewer says 'SSE would be simpler'. Respond.
  4. Summarise your design in 30 seconds.

Practise

Practise with these questions

Explain it out loud

Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.

Practise by voice

Your first interview is free

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview