High level designFreeInterview-focused

System design, one building block at a time

Six free guides that follow a request from the edge of the system down to the data, each with diagrams, trade-offs, interview questions with answers, and a quiz.

What is HLD?High level design (HLD) is the big picture of a software system: which components it has (clients, load balancers, gateways, services, caches, databases, queues), what each one is responsible for, and how requests and data flow between them. A system design interview tests whether you can build that picture from vague requirements, size it for real traffic and defend the trade-offs.

6 guides
live now, free
3+ hours
of reading in total
0/6
read on this device
Q&A
answers in every guide
The path a request takes
Usersweb · mobile
What you're being tested on

Every design answer is judged on four things

Scalability

Keep working as traffic grows 10× and 100×.

Data

Store, replicate and partition data correctly.

Distributed systems

Coordinate services that fail independently.

Reliability

Stay available and correct when parts break.

Interview framework

How to answer any system design question in 45 minutes

Use the same seven steps every time. Interviewers grade the process as much as the final diagram.

  1. 01

    Clarify functional requirements

    What must the system do? Pin down the 3–5 core use cases and say what's out of scope.

    5 min
  2. 02

    Non-functional requirements

    Scale, latency targets, availability, consistency and durability. These drive every later choice.

    3 min
  3. 03

    Estimate traffic and storage

    Requests per second (peak, not average), read/write ratio, data per day and per year.

    5 min
  4. 04

    Define APIs and data model

    The main endpoints and the core entities with their keys. This exposes access patterns early.

    5 min
  5. 05

    Draw the high-level architecture

    Client → load balancer → gateway → services → cache → database → queue. Walk one request through it.

    10 min
  6. 06

    Find bottlenecks and scale

    Where does it break at 10× traffic? Cache, replicate, shard, queue and say why for each.

    10 min
  7. 07

    Failures and trade-offs

    What happens when a node, a zone or the cache dies? What did you trade for what?

    7 min
Coming next

More guides on the way

  • CDN

    Edge locations, origin shielding, cache keys and invalidation for global users.

  • Consistent hashing

    Hash rings, virtual nodes and moving the fewest keys when nodes change.

  • Database sharding

    Shard keys, routing, hot partitions and resharding without downtime.

  • Distributed locking

    Leases, fencing tokens and why Redis locks need a backstop.

  • CAP theorem

    Consistency vs availability when the network splits, in practice.

  • Idempotency

    Idempotency keys and safe retries for payments and bookings.

  • Service discovery

    Registries, DNS discovery and health-checked endpoints.

  • Microservices

    Service boundaries, data ownership and when not to split.

  • Distributed transactions

    Two-phase commit, sagas and compensating actions.

Questions

System design questions, answered

Short answers to what people ask most before their first design round.

What is high level design (HLD) in software engineering?

High level design describes the major components of a system and how they interact: clients, load balancers, API gateways, services, caches, databases and message queues, plus the request and data flows between them. Low level design (LLD) then goes inside one component: classes, interfaces and algorithms.

What should I study for a system design interview?

Learn the core building blocks first: load balancing, API gateways, rate limiting, caching, databases (replication, sharding, consistency) and message queues. Then practise a repeatable framework (requirements, estimates, APIs, architecture, scaling, failures) on full problems like a URL shortener, chat app or ticket booking system.

In what order should I learn system design topics?

Follow a request from the edge to the data: load balancing, then API gateway, rate limiting, caching, database design and finally message queues for asynchronous work. That is also the order most interviewers probe in.

How should I approach an HLD interview question?

Clarify functional and non-functional requirements, estimate traffic and storage, define the APIs and data model, draw the high-level architecture and walk one request through it, then scale the bottlenecks and discuss failures and trade-offs. Budget roughly 45 minutes across those seven steps.

Is HLD asked for freshers?

Usually lightly. Freshers and juniors mostly face DSA and LLD, but many product companies include a basic design discussion. From about two to three years of experience, a dedicated system design round is standard.

Are these system design guides free?

Yes. Every guide is free to read with no sign-up. The Mastering System Design (HLD) book is optional and adds complete end-to-end interview designs.

Ready for full problems? Design them end to end.

Mastering System Design (HLD) walks through complete interview designs, from requirements and estimates to APIs, data, scaling, concurrency and failures.