Skip to content
Early access 50% off every pass while we scale — licenses delivered instantly. Claim the offer
Interview Prep

System Design Interviews: A Practical Framework for HLD and LLD Rounds

A step-by-step framework for high-level and low-level design rounds — requirements, estimates, architecture, deep dives and trade-offs — with the phrases that keep you in control.

Two colleagues discussing a design on laptops

System design rounds feel open-ended because they are. There is rarely one right answer; the interviewer is watching how you reduce ambiguity, make decisions and defend trade-offs. A consistent framework stops you from wandering.

HLD vs LLD: what each round tests

High-level design (HLD)Low-level design (LLD)
FocusComponents, data flow, scaleClasses, interfaces, patterns
Typical prompt“Design a URL shortener”“Design a parking-lot system”
What you produceArchitecture diagram, APIs, data storesClass diagram, method signatures
SignalsScalability, reliability, trade-offsClean abstractions, SOLID, extensibility

A 6-step system design interview framework for HLD rounds

  1. Clarify requirements (about five minutes). Separate functional requirements — what the system does — from non-functional ones such as latency, availability and consistency. Ask who the users are and what the read/write ratio looks like.
  2. Estimate scale. Rough numbers are enough: daily active users, requests per second, storage per year. Estimates justify the choices you make later.
  3. Define the API. Two or three core endpoints with request and response shapes. This anchors the rest of the design.
  4. Sketch the high-level architecture. Clients, load balancer, stateless services, cache, database, queues, object storage. Keep it simple first.
  5. Deep-dive on the hard parts. Pick the one or two components that make this problem interesting — ID generation for a URL shortener, fan-out for a news feed — and go deep.
  6. Discuss bottlenecks and trade-offs. Single points of failure, hot partitions, cache invalidation, consistency models. Finish by saying what you would monitor.

Worked example: a URL shortener

Requirements: create short links, redirect quickly, support optional expiry. Reads vastly outnumber writes.

  • ID generation: base62-encode a unique ID from a distributed counter or a pre-allocated key range, avoiding collisions without a lookup on every write.
  • Storage: a key-value store keyed by short code — a simple access pattern that scales horizontally.
  • Reads: put a cache such as Redis in front of the store; popular links will be served almost entirely from cache.
  • Redirects: use 301 for permanent links (browser-cacheable) or 302 when you need analytics on every click.
  • Analytics: publish click events to a queue and aggregate them asynchronously so redirects stay fast.

A framework for LLD rounds

  1. List the entities from the requirements. For a parking lot: ParkingLot, Level, Spot, Vehicle, Ticket, Payment.
  2. Define relationships and responsibilities — who owns what, and which class makes each decision.
  3. Write the key interfaces and method signatures before any implementation.
  4. Apply patterns where they earn their place: Strategy for pricing rules, Factory for vehicle types, Observer for spot-availability updates.
  5. Walk a use case end to end — a car enters, parks, pays and leaves — to prove the design works.

Phrases that keep you in control

  • “Before I design anything, can I confirm the scale we’re targeting?”
  • “I’ll start simple and evolve it as we find bottlenecks.”
  • “There’s a trade-off here between consistency and latency — for this use case I’d choose…”
  • “If I had more time, I’d look at…”
Remember Interviewers rarely penalise a simple design that is well reasoned. They penalise complexity you can’t justify.

Practise five classic prompts — URL shortener, chat app, news feed, rate limiter and file storage — and you will have reusable building blocks for almost anything you are asked.

If you want support during the round itself, Assisting AI explains HLD and LLD concepts as the interviewer speaks — see how it helps in interviews and how answers are structured.

Curious how this works in practice? See Assisting AI’s live transcription and the full call pipeline, step by step.

Put it into practice

Your next call, with a co-pilot that already knows the answer.

Cookie settings

We use essential cookies to run this site. With your permission, we would also use analytics and marketing cookies to understand how the site is used and to improve our ads. You can change your choice at any time from “Cookie settings” in the footer.

EssentialAlways on

Needed for the site to work and to remember your cookie choice. Always on.

  • Assisting AI — aai_consent · 180 days

Helps us understand which pages are useful so we can improve the site. Off unless you turn it on.

Not in use right now — we will ask you before adding any.

Used to measure and personalise our ads on other platforms. Off unless you turn it on.

Not in use right now — we will ask you before adding any.

Consent ID: — · Cookie PolicyPrivacy Policy