How to run a system design (HLD) round

Master the High-Level Design round by learning how to structure your 45 minutes, lead the conversation, and confidently discuss trade-offs.

beginner12 min readBy CureBugs EditorialUpdated 5 Nov 2026

System design interviews are often the most intimidating part of the software engineering loop. Unlike Data Structures and Algorithms (DSA) rounds, where your code either passes the test cases or fails, High-Level Design (HLD) interviews are notoriously open-ended. There is no single "correct" answer. Instead, the interviewer is evaluating your technical judgment, your ability to navigate ambiguity, and most importantly, your communication skills.

For engineers in the 0–8 years of experience bracket, the biggest hurdle isn't usually a lack of technical knowledge; it's a lack of structure. Many candidates sit back and wait for the interviewer to ask questions. This is a fatal flaw. In a system design round, you are the driver, and the interviewer is your passenger. Your job is to navigate the journey, explain your route, and safely reach the destination.

This guide will break down exactly how to structure your 45-minute HLD interview, step-by-step, complete with concrete examples, sample dialogues, and a checklist you can use the night before your big day.

The Mindset Shift: Driving the Interview

Before we look at the technical steps, you need to understand what the interviewer is actually looking for. They are simulating a day on the job. Imagine you are a senior engineer and a product manager comes to you saying, "We need to build a new notification system." You wouldn't immediately start provisioning AWS instances. You would ask questions, define the scope, estimate the cost, and propose a design with trade-offs.

Your interview should look exactly like this. You need a repeatable framework to ensure you don't miss critical steps. Here is the ideal blueprint for a 45-minute round:

PhaseActivityTime Allocation
1Requirement Gathering & Scoping5 minutes
2Back-of-the-Envelope Estimation5 minutes
3API Design5 minutes
4High-Level Architecture10-15 minutes
5Deep Dive & Trade-offs10-15 minutes
6Wrap-up & Questions5 minutes

Let's break down each phase in detail.

Phase 1: Requirement Gathering (0–5 mins)

The prompt will almost always be intentionally vague. For example: "Design Twitter" or "Design a URL Shortener."

Your first task is to lock down the Functional Requirements (what the system should do) and Non-Functional Requirements (how the system should behave).

Functional Requirements

Ask clarifying questions to narrow the scope. You cannot build all of Twitter in 45 minutes.

Candidate: "To ensure we focus on the right areas, I'd like to define the core features. For this Twitter clone, should we focus solely on users posting tweets and viewing their home timeline? Or do we also need to design the search functionality, trending topics, and direct messaging?" Interviewer: "Let's just focus on posting tweets and viewing the timeline. Text only, no images for now." Candidate: "Great. Can users follow other users?" Interviewer: "Yes, following is required."

Non-Functional Requirements

This dictates your architecture. Are you building for 100 users or 100 million? Does it need to be highly available or highly consistent?

Candidate: "What scale are we looking at? Is this a global application?" Interviewer: "Yes, global. Assume 100 million Daily Active Users (DAU)." Candidate: "Got it. Given it's a social media platform, I assume High Availability is more critical than Strict Consistency. If a user sees a tweet 2 seconds late, it's fine, but the system going down is unacceptable. I'll also assume a read-heavy system, likely a 100:1 read-to-write ratio."

Write these requirements down clearly on the whiteboard or shared document. They are your anchor.

Phase 2: Back-of-the-Envelope Estimation (5–10 mins)

Estimations prove that you understand scale. You don't need exact numbers, but you need to show you can calculate roughly how much traffic and data the system will handle. This helps you decide if you need a cache, how to shard your database, and what kind of network bandwidth you need.

Let's estimate for our Twitter example:

1. Traffic Estimates (QPS - Queries Per Second):

  • DAU: 100 Million
  • Writes (Posting tweets): Assume each user posts 1 tweet per day on average.
    • 100M tweets / 100,000 seconds = 1,000 Write QPS.
  • Reads (Viewing timelines): Assume each user opens their timeline 10 times a day, and each open fetches 100 tweets.
    • 100M users * 10 requests / 100,000 seconds = 10,000 Read QPS.

2. Storage Estimates:

  • Assume a tweet (text + metadata) is roughly 1 KB.
  • 100M tweets/day * 1 KB = 100 GB / day.
  • For 10 years: 100 GB * 365 * 10 ≈ 365 TB of storage.

Conclusion stated to the interviewer: "We have 10,000 Read QPS and 1,000 Write QPS. This confirms it's a read-heavy system. We will definitely need caching to serve the timeline efficiently. 365 TB of storage over 10 years means a single relational database won't suffice; we will need to shard our database."

Phase 3: API Design (10–15 mins)

Before drawing boxes, define the contract between the client and the server. This grounds your design in reality. Write out the REST or gRPC endpoints.

For our system, we might define an interface like this. (Notice how defining the interface clearly in code shows strong engineering fundamentals):

from abc import ABC, abstractmethod
from typing import List, Dict, Any

class TwitterService(ABC):
    @abstractmethod
    def post_tweet(self, user_id: str, content: str) -> bool:
        """Publishes a new tweet."""
        pass

    @abstractmethod
    def get_timeline(self, user_id: str, page_token: str = None) -> List[Dict[str, Any]]:
        """Fetches the user's home timeline."""
        pass
    
    @abstractmethod
    def follow_user(self, follower_id: str, followee_id: str) -> bool:
        """Allows a user to follow another user."""
        pass

Discuss the parameters. Why include a page_token? "To handle pagination, since returning 1,000 tweets at once would crash the client and overload our network."

Phase 4: High-Level Architecture (15–25 mins)

Now it's time to draw. Start simple. Build the "happy path" first, then scale it up.

  1. Start with a single box: Client -> Server -> Database.
  2. Add scale: Introduce a Load Balancer, API Gateway, multiple App Servers, Caching, and Database Replication.

Here is what a standard scalable architecture looks like for our read-heavy timeline system:

Walk the interviewer through the diagram:

  • Write Path: "When a user posts a tweet, the request hits the Load Balancer, routes to the Tweet Write Service, and is saved in the Primary DB. Simultaneously, we drop an event into Kafka. Our Fanout Workers pick this up and pre-compute the timelines of the user's followers, storing them in Redis."
  • Read Path: "When a user opens the app, the Timeline Read Service fetches their pre-computed timeline directly from Redis. This makes reads O(1) and extremely fast. If there's a cache miss, we fall back to the Read Replicas."

Phase 5: Deep Dive & Bottlenecks (25–40 mins)

This is the most critical part of the interview. Anyone can memorize a standard architecture diagram. Seniority is demonstrated by identifying where the system will break and discussing the trade-offs of different solutions.

Take the initiative. Don't wait for the interviewer to find the flaws.

Candidate: "Looking at this design, I can see a major bottleneck. The fanout-on-write approach works great for normal users. But what happens if Virat Kohli, who has 50 million followers, posts a tweet?"

Interviewer: "Good catch. What happens?"

Candidate: "Our Fanout Workers would try to update 50 million Redis caches instantly. This is called the 'thundering herd' or 'hot key' problem. It will overwhelm our queue and Redis cluster, causing massive delays for everyone else."

Handling Trade-offs

When you identify a problem, provide options. Never just give one solution.

Candidate: "To fix this, we have a few options:

  1. Option A (Fanout-on-Read for Celebrities): We stop pre-computing timelines for celebrity followers. Instead, when a user loads their timeline, we merge their pre-computed feed (from normal users) with the recent tweets of the celebrities they follow at read time.
  2. Option B (Hybrid Approach): We only push the celebrity tweet to active users who are currently online, rather than all 50 million followers."

Interviewer: "Which one would you choose?"

Candidate: "I'd go with Option A. It slightly increases the read latency because we have to do a merge operation on the fly, but it completely saves our write infrastructure from collapsing during major events like the IPL or World Cup."

Database Selection: SQL vs NoSQL

Interviewers love asking why you chose a specific database. Be prepared to justify it. For our Twitter clone, you might compare them:

FeatureRelational (e.g., PostgreSQL)NoSQL (e.g., Cassandra / DynamoDB)
SchemaRigid, structured. Good for complex joins.Flexible. Good for unstructured or rapidly changing data.
ScalingHard to scale horizontally (requires complex sharding).Designed for horizontal scaling out of the box.
ConsistencyStrong ACID guarantees.Typically Eventual Consistency (tunable).
Verdict for TweetsNot ideal for 365 TB of simple key-value tweet data.Winner: Cassandra is perfect for high-volume, time-series data like tweets.

Phase 6: Wrap-up (40–45 mins)

In the last few minutes, summarize your design. Acknowledge what you would improve if you had more time.

Candidate: "To summarize, we designed a highly available timeline system using a hybrid fanout approach to handle celebrity accounts. We chose Cassandra for horizontal scalability and Redis for fast reads. If we had more time, I'd love to dive into how we handle monitoring and alerting, perhaps using Prometheus and Grafana, and how we'd implement rate limiting to protect our APIs from DDoS attacks."

This shows maturity and operational awareness.

Crucial Soft Skills: Do's and Don'ts

Your technical knowledge is only half the battle. How you behave during the interview matters just as much.

DO: Think Aloud

Silence is your enemy. If you are thinking about whether to use Redis or Memcached, say it out loud. "I'm debating between Redis and Memcached. I'm leaning towards Redis because we might need data structures like Sorted Sets for the timeline ranking..." This allows the interviewer to course-correct you if you're going down the wrong path.

DO: Accept Pushback Gracefully

If the interviewer challenges your design, do not get defensive.

  • Interviewer: "I don't think Cassandra is a good choice here because we need to join user profile data with the tweets."
  • Candidate (Good): "That's a fair point. If joins are a frequent access pattern, Cassandra will struggle. In that case, we could use a sharded PostgreSQL setup, or we could denormalize the user data into the Cassandra tweet table. What do you think about denormalization?"

DON'T: Throw Buzzwords

Do not say "I will use Kafka, Kubernetes, and machine learning" unless you can explain exactly how Kafka partitions work, why you need container orchestration, and what your ML model is predicting. Interviewers will drill into the technologies you mention.

DON'T: Ignore the Interviewer's Hints

If an interviewer says, "Are you sure the database can handle that many connections?", that is not a casual question. It is a strong hint that you need to introduce connection pooling or a caching layer.

The Night-Before Checklist

Review this checklist the night before your System Design Interview:

  1. Memorize the Powers of Two: Know your bytes, kilobytes, megabytes, gigabytes, and terabytes.
  2. Memorize Latency Numbers: Know that reading from memory (cache) takes microseconds, while reading from disk or making a network call takes milliseconds.
  3. Review the CAP Theorem: Understand that in the presence of a Network Partition (P), you must choose between Consistency (C) and Availability (A). Be ready to explain which one your system favors.
  4. Brush up on Core Concepts: Make sure you can confidently explain Consistent Hashing, Load Balancing, and Database Sharding.
  5. Prepare a Mental Sandbox: Have a standard set of tools you know deeply. Pick one SQL DB (e.g., Postgres), one NoSQL DB (e.g., DynamoDB/Cassandra), one Cache (Redis), and one Message Queue (Kafka/RabbitMQ). Know their pros, cons, and limits.

Driving a system design interview is a skill that takes practice. Treat it like a collaborative whiteboard session with a colleague, stay structured, state your assumptions clearly, and don't shy away from discussing the flaws in your own design. Good luck!

Mock interview

Reading about interviews only goes so far

The only way to get better at interviews is to do them. Run a mock round now and see how your answers sound to someone hearing them for the first time.

  • An AI interviewer that has read your CV
  • Voice or text, friendly or tough
  • A scored report that quotes your answers and says what to fix
Practise it in a mock interview Voice or text. Pause whenever you need to.

Applying somewhere? Start with the company filled in

Go deeper elsewhere

The best material we've found on these topics.

Keep reading

All articles
Interview guides•beginner

Explaining your CV projects in an interview

10 min read
Case studies•intermediateStart here

System design case studies: which to practise, in what order

4 min read
System design•beginnerStart here

How to learn system design: the complete roadmap

5 min read