ayushsalampuriya.xyz
Revise
Home
DSA
LLD
HLD
System Design
Hello Interview
Useful Resources
Notes
Backend System Design
Backend System Design
Study map: interview framework → core concepts → full design questions.
In simple words:
Learn the method first, revise building blocks, then practise complete designs.
Start
Core
Blocks
Designs
Start here
Overview
Interview structure and 45–60 minute framework
Read →
HLD Quick Notes
Short revision notes for common architecture building blocks
Read →
Concept Questions
Short verbal drills on CAP, cache, queues, consistency
Read →
Core concepts
Scaling foundations
Scaling Fundamentals
Single server to millions of users
Read →
Estimation
Back-of-envelope RPS, storage, bandwidth
Read →
Consistent Hashing
Hash ring, virtual nodes, rebalance
Read →
Building blocks
Load Balancing
L4/L7, algorithms, health checks, stickiness
Read →
Caching
Cache-aside, write paths, eviction, stampede
Read →
Database Scaling
Vertical/horizontal, replicas, sharding
Read →
Storage Engines
B-tree vs LSM, WAL, compaction
Read →
Transactions
ACID, isolation, distributed TX and sagas
Read →
Saga Pattern (HLD)
Compensation, outbox, cross-service workflows
Read →
CAP & Consistency (HLD)
CP vs AP, quorums, consistency models
Read →
Replication
Leader/follower, lag, failover
Read →
CDN
Edge caching, headers, invalidation
Read →
Availability Patterns
Failover, circuit breaker, degradation
Read →
Communication Protocols
HTTP, gRPC, WebSocket, sync vs async
Read →
Microservices
Boundaries, sync/async, circuit breaker
Read →
Message Queues
Producers, consumers, ACKs, Kafka vs SQS
Read →
Design questions
Popular picks
URL Shortener
→
Chat System
→
News Feed
→
Rate Limiter
→
Payment System
→
Notifications
→
All design questions
Key-Value Store
→
Unique ID
→
Autocomplete
→
Web Crawler
→
YouTube
→
Google Drive
→
Twitter Search
→
Distributed Cache
→
Search Engine
→
Task Scheduler
→
Metrics System
→
Booking System
→
Quick revision
Framework:
clarify requirements → estimate → draw the HLD → deep dive → discuss failures.
Study order:
scaling foundations first, then building blocks, then full design questions.
Quick notes:
use the
HLD section
for fast revision.
Practice:
state every assumption and explain each trade-off aloud.