Part VI β The Blueprint Β· Lesson 11.1
HLD Overview
In one lineOne frame, eight steps, forty-five minutes β the structure is what's being graded, not the trivia.
Where you've seen itTwo candidates propose the same architecture. The one who spent five minutes on requirements first is the one who gets the offer.
Diagram
THE 8-STEP FRAME β every lesson in this chapter follows it
1. REQUIREMENTS functional Β· non-functional Β· explicitly out of scope
2. SCALE NUMBERS DAU Β· payload size Β· RPS Β· growth Β· device mix
3. ARCHITECTURE client β CDN β BFF β services (box diagram)
4. DATA MODEL entities Β· API contracts Β· pagination shape
5. COMPONENT TREE screen breakdown (tree diagram)
6. DEEP DIVES the 2 genuinely hard problems in THIS app
7. CROSS-CUTTING perf Β· a11y Β· security Β· offline Β· monitoring
8. TRADE-OFFS what you chose, and what you gave upTHE 45-MINUTE BUDGET β where candidates lose time
0βββ5ββββββββ15ββββββββββββββ30βββββββββ40ββββ45
β β β β β β
β REQβ ARCH β DEEP DIVE β CROSS β Q&A β
β + β DATA β (the part β CUTTING β β
βscaleβ TREE β they grade) β β β
β 20 minutes on requirements β no time to show depth
β 0 minutes on requirements β you design the wrong system
β 5 minutes, then move, and revisit scope when it mattersFRONTEND HLD β BACKEND HLD
they ask about not about
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
rendering strategy (5.6) database sharding
state + caching (6.9) consensus algorithms
component boundaries message queue internals
transport choice (2.7) load balancer algorithms
perceived performance replica placement
You may mention backend concerns β briefly, to show you know
the boundary β then return to the client.How it works
- Ask before designing. Who uses it, on what device, what's the one thing it must do well, and what's explicitly excluded.
- Get one number. DAU, items per screen, update frequency β a single figure changes the design and shows you think in scale.
- Draw the boxes, then the component tree. Talking without drawing is the most common failure mode.
- Pick the two hard problems yourself. Every app in this chapter has them named for you.
- Close with trade-offs. "I chose X, which costs me Y, and I'd revisit it if Z" is the single highest-signal sentence in the interview.
Trade-offs
| Do | Don't |
|---|---|
| Drive the structure out loud | Wait to be asked the next question |
| State assumptions and move on | Stall waiting for perfect requirements |
| Draw, then talk | Talk for ten minutes with a blank board |
| Name what you're skipping | Pretend you covered everything |
RADIO (Requirements, Architecture, Data, Interface, Optimisation) is the same idea in five letters β covered in 12.13. Use whichever you'll remember under pressure.
Interview angle
"Design Instagram's frontend."
- Scope out loud first: feed and upload for mobile web, excluding stories, DMs, and reels β then confirm.
- Give a number: 500M DAU, ~30 posts per session, images 200KB after transform.
- Then follow the frame, and reserve the middle 15 minutes for the two deep dives, which is where the grading actually happens.
Recap
- Eight steps, in order, every time β the frame is the skill.
- Five minutes scoping, fifteen minutes of depth, always a trade-off close.
- Frontend HLD is about rendering, state, transport, and components β not databases.