SDSystem DesignConcepts to case studies
System DesignDSA
x
0/311
Part 1: Foundations
  • What is System Design?
  • High-Level Design (HLD)
  • Low-Level Design (LLD)
  • Functional vs Non-Functional Requirements
  • Back-of-the-Envelope Estimation
  • Numbers Every Engineer Should Know
  • SLA, SLO and SLI
  • Basic OS: Process, Thread, Memory
  • 30 Must-Know Concepts
Part 2: APIs and Communication
Part 3: Caching
Part 4: Data and Storage
Part 5: Architecture
Part 6: Distributed Systems
Part 7: Advanced Data Topics
Part 8: Operations and Security
Part 9: Estimation and Interview Method
Part 10: Case Studies
System Design/Foundations/Introduction

30 Must-Know Concepts

A fast map of the 30 ideas that appear again and again in every system design talk.

⏱ 15 min readBeginnerMust Know
SummaryConceptReal-Life ExampleWhy?Where?How It WorksStepsKey TermsPros & ConsMistakesReal WorldRead NextInterview Q&ACheat-Sheet

01Quick Summary

System design uses the same 30 ideas again and again. This page is a map. Learn the words here first, then go deep in each chapter.

  • The ideas are in 5 groups: core ideas, networking, traffic and speed, data, and communication.
  • Each idea has one easy line, so you can remember it.
  • Part 1 of this course covers the first two groups and load balancing in detail. Later parts cover the rest.

02Concept: What is it?

A system design talk can seem large. But it is built from a small set of ideas. If you know these 30, you can follow almost any design.

🧠Think of it like cooking
A chef does not invent a new method for every dish. They know a few methods: boil, fry, bake, grill. Then they mix them. System design works the same way. The 30 concepts are your cooking methods.
The 5 groups of ideas
🧠Core ideas7 ideas
🌐Networking7 ideas
🚦Traffic and speed5 ideas
πŸ—„οΈData5 ideas
🧩Communication and building6 ideas
Every concept below sits in one of these groups.

03Real-Life Example

🍡A food delivery order
You order a pizza on your phone. In a few seconds it is on its way. Many of the 30 ideas worked behind the scenes. Follow one request and spot them.
One tap, many ideas
  1. 1
    App finds the server address
    DNS turns the name into an IP address
  2. 2
    Request travels safely
    HTTPS over TCP
  3. 3
    Load balancer picks a server
    Load balancing shares the traffic
  4. 4
    Menu comes from the cache
    Caching avoids slow database reads
  5. 5
    Order is saved in the database
    Replication keeps a backup copy
  6. 6
    Restaurant and rider are told
    A message queue passes the work on
  7. 7
    Payment is not charged twice
    Idempotency protects the user
Pizza order step
Concept
Find the shop's address
DNS
Safe secret call
HTTPS
Pick a free counter
Load balancing
Menu on the wall
Caching
Order book with a copy
Database + replication
Order slip sent to the kitchen
Message queue

04Why Do We Need It?

Knowing the whole map first makes each later chapter easier.

πŸ—ΊοΈSee the big picture
You know where each idea fits.
πŸ—£οΈSpeak the language
You can follow design talks and reviews.
πŸ’ΌInterview ready
These ideas come up in most design rounds.
🧰Pick the right tool
You can match a problem to the idea that solves it.
Learn the words first. Then every chapter is just a closer look at one word.

05Where Do We Use It?

Use this page as a quick lookup, any time you meet a new word.

πŸ“–Before a chapter
Read the one-line meaning to warm up.
πŸ”During revision
Test yourself: can you explain each idea in one line?
🎀Before an interview
Scan all 30 so none feels new.

06Types / Parts / How It Works

Here are all 30 ideas in their groups. Each has an easy one-line meaning.

🧠 Core ideas
1. ScalabilityHandle more users by adding resources.
2. AvailabilityBe up and working when users need you.
3. ReliabilityGive correct results, even when parts fail.
4. Single Point of FailureOne part that stops everything if it breaks.
5. Latency vs ThroughputTime for one request vs requests per second.
6. CAP TheoremIn a network split, pick consistency or availability.
7. Consistent HashingSpread data so adding servers moves little data.
🌐 Networking
1. OSI ModelSeven layers a message passes through.
2. IP AddressThe address of a device on a network.
3. TCP vs UDPSafe and ordered, or fast and light.
4. HTTP / HTTPSHow browsers and servers talk, and keep it secret.
5. DNSTurns names into IP addresses.
6. Proxy vs Reverse ProxyA middle-man for clients or for servers.
7. ChecksumsA small number to detect damaged data.
🚦 Traffic and speed
1. Load BalancingShare requests across many servers.
2. CachingKeep popular data in fast memory.
3. CDNCopies of files placed close to users.
4. Rate LimitingStop one user from sending too much.
5. API GatewayOne front door for many services.
πŸ—„οΈ Data
1. SQL vs NoSQLTables with rules, or flexible stores.
2. ReplicationKeep copies of data on many machines.
3. ShardingSplit big data across many databases.
4. IndexingA shortcut that makes searches fast.
5. Consistency ModelsHow fresh the data you read must be.
🧩 Communication and building
1. Message QueuesPass work between parts without waiting.
2. MicroservicesMany small services instead of one big app.
3. REST / gRPCCommon styles for APIs between services.
4. IdempotencyDoing the same request twice has the same result.
5. Monitoring and LoggingWatch the system and find problems.
6. Security BasicsLogin, permission and safe data.
πŸ“Not all 30 are in Part 1
Part 1 covers the core ideas, networking and load balancing. Caching, databases, queues and microservices come in the next parts.

07How to Use It / Steps / Implementation

A simple plan to learn all 30 without feeling lost.

  1. 1
    Read the one-line meanings
    Do not worry about depth yet.
  2. 2
    Learn the core ideas first
    Scalability, availability, reliability, SPOF, latency.
  3. 3
    Learn networking
    You need it to understand how requests travel.
  4. 4
    Learn load balancing and caching
    These two fix most speed problems.
  5. 5
    Learn data ideas
    Replication and sharding are the big ones.
  6. 6
    Practise with real designs
    Pick an app and name which ideas it uses.
πŸ’‘Self-test
Close this page. Try to write one line for each of the 30 ideas. Check what you missed.

08Key Terms to Know

TermMeaning in easy words
ConceptA basic idea you can reuse in many designs
Distributed systemMany computers working together as one system
NodeOne machine or server in a system
Request / responseAsk for something, then get an answer
Client / serverThe one who asks and the one who answers
ThroughputHow many requests are handled per second
LatencyHow long one request takes
ReplicaA copy of data or of a server
ShardOne slice of a large database
CacheFast memory that keeps popular data

09Pros, Cons and Trade-offs

Why a map helps, and where it stops
Good
Quick overview
Easy to revise
Shows how ideas link
Limits
One line is not deep
Needs the full chapters
Memorising is not understanding
⚠️Careful
Do not stop at the one-liners. Interviewers ask β€œwhy” and β€œwhat is the trade-off”.

10Common Problems and Mistakes

Common mistakes when learning

  1. Memorising names without meaning. You must be able to explain each idea with an example.
  2. Skipping networking. Many design questions are really about how requests travel.
  3. Learning tools before ideas. Learn β€œcaching” before you learn one cache product.
  4. Using every idea in every design. Pick only what the problem needs.
  5. Ignoring trade-offs. Each idea fixes one thing and costs another.

11Real-World Examples

Notice how a real product uses many of the ideas together. These are general ideas, not company secrets.

ProductIdeas it leans on most
Netflix, YouTubeCDN, caching, load balancing, replication
WhatsAppTCP connections, message queues, replication, encryption
Online shoppingCaching, queues, sharding, rate limiting
UPI paymentsIdempotency, consistency, availability, security
Google SearchSharding, indexing, caching, load balancing
Ride bookingLow latency, queues, consistent hashing
Same blocks, different mix
🎬Streaming
→↓CDN + cache
πŸ’³Payments
→↓idempotency + consistency
πŸ’¬Chat
Speed first Correctness first Real-time first

12Related Topics to Read Next

What is System Design?β†’

Start here if you have not read it.

Scalability→

The first core idea on the map.

Availability→

Next core idea: keeping the system up.

CAP Theorem→

A famous rule about data on many machines.

What are Load Balancers?β†’

The first big building block.

13Interview Questions with Short Answers

14Quick Revision Cheat-Sheet

  • βœ”30 ideas in 5 groups: core, networking, traffic and speed, data, communication.
  • βœ”Core: scalability, availability, reliability, SPOF, latency, CAP, consistent hashing.
  • βœ”Networking: OSI, IP, TCP/UDP, HTTP(S), DNS, proxies, checksums.
  • βœ”Traffic and speed: load balancing, caching, CDN, rate limiting, API gateway.
  • βœ”Data: SQL/NoSQL, replication, sharding, indexing, consistency.
  • βœ”Building: queues, microservices, APIs, idempotency, monitoring, security.
  • βœ”Tip: explain each idea with one example and one trade-off.
← Previous
Basic OS: Process, Thread, Memory
Next β†’
Scalability