System design interviews are the highest-signal rounds in senior engineering interviews โ€” and the most feared. In 2026, FAANG and top-tier startups expect you to design systems like "Design a URL shortener," "Design a chat system," or "Design a rate limiter" from scratch in 45 minutes. This framework-based guide covers the repeatable approach, key building blocks, and the real evaluation criteria interviewers use.

The 4-Step System Design Framework

StepTime BudgetWhat to DoInterviewer Looks For
1. Requirements5 minClarify functional/non-functional reqs, estimates (DAU, QPS, storage)Asking clarifying questions, scope management
2. High-Level Design10 minDraw major components, data flow, API designClean separation of concerns, reasonable APIs
3. Deep Dive20 minPick 2-3 critical components, detail the data model, scaling strategyTechnical depth, trade-off reasoning
4. Wrap-Up10 minIdentify bottlenecks, discuss scaling limits, suggest improvementsBottleneck awareness, realistic scaling

Back-of-the-Envelope Estimation

MetricHow to CalculateExample (Twitter-scale)
DAU (Daily Active Users)Assume, then validate with interviewer200M DAU
QPS (Queries Per Second)DAU ร— avg requests per user / 86,400200M ร— 50 / 86,400 โ‰ˆ 115K QPS
Storage (per day)QPS ร— avg data size ร— 86,400115K ร— 1KB ร— 86,400 โ‰ˆ 10 TB/day
BandwidthStorage per second (MB/s)10 TB / 86,400 โ‰ˆ 120 MB/s
Cache SizeDaily storage ร— 0.2 (80-20 rule)10 TB ร— 0.2 = 2 TB cache

Core Building Blocks for Any Design

ProblemSolutionWhen to Use
Read-heavy workloadCache (Redis) + Read replicasRead:Write ratio > 10:1
Write-heavy workloadWrite-ahead log, async writes, shardingWrite QPS > 10K
Large data volumeDatabase sharding (consistent hashing)Data > 1TB, single DB can't handle
Real-time updatesWebSocket + pub/subChat, live feeds, notifications
File / image storageObject storage (S3) + CDNUser uploads, media serving
Long-running tasksMessage queue (Kafka, SQS) + workersVideo processing, email sending, ML inference
Rate limitingToken bucket / sliding window + RedisAPI protection, DDoS prevention
SearchElasticsearch or PostgreSQL FTSFull-text search, filtering
AnalyticsClickHouse, BigQuery, data lakeEvent tracking, reporting

Common System Design Questions & Key Decisions

SystemKey Decision PointsCommon Pitfall
URL ShortenerID generation (Snowflake vs hash), redirect cachingForgetting rate limiting for URL creation
Chat SystemLong polling vs WebSocket, message ordering, read receiptsNot handling offline messages / message reliability
News FeedFan-out-on-write vs fan-out-on-read, feed rankingUnderestimating celebrity user fan-out cost
Rate LimiterToken bucket vs sliding window, distributed vs centralizedRace conditions in distributed counters
Video StreamingTranscoding pipeline, adaptive bitrate (HLS/DASH), CDNNot discussing encoding formats and device compatibility

Bottom line: System design interviews test breadth, not depth. The interviewer wants to see that you can decompose a complex system, identify the critical path, and make reasonable trade-offs. Master the 4-step framework, memorize the 10 core building blocks, and practice estimating QPS/storage quickly. The difference between a "pass" and "fail" is rarely technical accuracy โ€” it is structured thinking and communication. See also: PostgreSQL Query Optimization and Full-Text Search Comparison.