System design
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
13 write-ups
| Title | Difficulty |
|---|---|
| Design a CDN Serve customers' content from hundreds of edge locations, steer each user to a nearby one with anycast and DNS, protect the origin, and purge stale objects worldwide in seconds. | Hard |
| Design a Large File Distribution System Get a 10 GB binary or model onto 10,000 servers in a few minutes with peer-to-peer piece exchange, locality-aware peers, integrity checks and staged software rollouts. | Medium |
| Design a Load Balancer Spread a million requests per second across a changing pool of servers, with L4 and L7 tiers, health checks, the right algorithm for each workload, and no single box to fail. | Medium |
| Design Country IP Blocking Block banned countries and IPs at the edge in microseconds, serve an IP-range geo lookup API, sync a distributed denylist to thousands of servers, and keep a slow reputation API off the hot path. | Medium |
| Design DNS Resolve names to addresses at millions of queries per second, from the root down to authoritative servers, with caching, fast record updates, anycast and defenses against poisoning and DDoS. | Medium |
| Design Zoom Real-time group video calls with sub-200 ms latency, built on WebRTC, NAT traversal and selective forwarding units, and why that looks nothing like a chat app. | Hard |
| GraphQL What you need to know about GraphQL for system design interviews, including schemas and resolvers, the N+1 problem and DataLoader, pagination, caching, query cost limits, subscriptions and federation. | |
| gRPC What you need to know about gRPC for system design interviews, including Protocol Buffers, HTTP/2 streams, the four call types, deadlines, load balancing long-lived connections and REST trade-offs. | |
| Nginx What you need to know about Nginx for system design interviews, including its event-driven architecture, reverse proxying, load balancing, TLS termination, caching, rate limiting and where it fits. | |
| API Design: REST, GraphQL and gRPC How to design the API in a system design interview. REST resources, HTTP methods, PUT vs PATCH, status codes, headers, pagination and sensitive data, then GraphQL, gRPC and when to pick each. | |
| Real-Time Updates How to push changes to clients as they happen. Polling, long polling, SSE and WebSockets, then routing updates to the right server with pub/sub, catching up after reconnects and scaling connections. | |
| Security Fundamentals The security toolkit for system design interviews. Threat modeling, TLS and mTLS, encryption at rest with KMS, request signing, secrets management, and designing for GDPR deletion and data residency. | |
| What Happens When You Type a URL The journey from typing a URL to a rendered page. HSTS, DNS resolution, TCP, TLS and QUIC, CDNs and load balancers, the server, and browser rendering, with a latency budget. |