Limited time: AI code review, hints, mock interviews, whiteboard analysis, and all Pro features are unlocked. Enroll
System Design

High-Level Design Problems

Distributed architectures with diagrams, technology choices, deep dives, and trade-offs. Built for interviews at Amazon, Google, Meta, and top startups.

35Designs
3Difficulty Levels
50+Deep Dives
0/39 completed

The checkboxes below are disabled until you sign in. to tick off what you have finished and sync it across devices.

New to system design?

Start with HLD Fundamentals β€” covers CAP theorem, caching, sharding, queues, and back-of-envelope estimation.

β†’
The 45-Minute Framework

Step-by-step delivery structure for your system design interview. Timings, phases, and what to say at each stage.

β†’
System Design Cheatsheet

One-page reference: when to use Kafka, Redis, databases, caching strategies, sharding, real-time patterns, capacity estimation formulas, and trade-off one-liners.

β†’

Intermediate

12 problems
Intermediate

Twitter (X) / Threads β€” Social Feed

Fan-out on write vs read, timeline caching, celebrity problem.

Fan-out Timeline Cache Celebrity Problem
Meta Twitter LinkedIn
Intermediate

Chat System (WhatsApp / iMessage)

WebSocket connections, offline delivery queues, Cassandra message store.

WebSocket Offline Delivery Cassandra
Meta Slack Discord
Intermediate

Notification System

Multi-channel push/email/SMS, Kafka pipelines, template service, engagement tracking.

Multi-channel Kafka Template Engine
Amazon Uber PhonePe
Intermediate

Photo Sharing (Instagram / Pinterest)

Media upload pipeline, CDN delivery, news feed generation, fan-out, image optimization.

CDN Fan-out Object Storage
Meta Pinterest Snap
Intermediate

Ticket Booking (BookMyShow / Ticketmaster)

Seat selection, distributed locking, temporary holds, payment integration, no double-booking.

Distributed Lock TTL Holds Payment Saga
BookMyShow Ticketmaster Amazon
Intermediate

News Aggregator (Google News)

Crawling 50K sources, story clustering with embeddings, personalized feed ranking, breaking news detection.

Crawling NLP Clustering Feed Ranking
Google Apple Microsoft
Intermediate

Search Autocomplete / Typeahead

Trie data structure, prefix matching, real-time trending detection, caching hot prefixes.

Trie Prefix Matching Trending
Google LinkedIn Amazon
Intermediate

Nearby Service (Yelp / Google Maps)

Geohash, quadtree, spatial indexing, high-frequency location updates, radius queries.

Geohash Redis Geo Spatial Index
Google Uber Swiggy
Intermediate

Shopping Cart (Amazon / Flipkart)

Cart persistence across devices, guest-cart merge on login, flash-sale write bursts.

Redis Write-Behind Flash Sale
Amazon Flipkart Meesho
Intermediate

Q&A Forum (Quora / StackOverflow)

100:1 read skew, answer ranking, full-text search over 10M questions.

Read Replicas Elasticsearch Ranking
PhonePe Meta Atlassian
Intermediate

Image Processing Microservice

Async pipeline with presigned URLs, worker pools, libvips streaming, idempotency cache, auto-scaling on queue depth.

Worker Pool Idempotency libvips
Amazon Cloudinary Shopify
Intermediate

Business Rules Engine

Expression parsing to AST, Rete algorithm for 10K rules in 50ms, hot reload via Kafka, action execution with DLQ.

Rete Algorithm AST Parsing Hot Reload
Amazon Razorpay Goldman Sachs
Intermediate

Distributed Cache

Consistent hashing with virtual nodes, approximated LRU eviction, hot key replication, and stampede control.

Consistent Hashing Eviction Hot Keys
Amazon Google Meta Uber
Intermediate

Spotify / Music Streaming

Pre-transcoded bitrate ladders, CDN chunk delivery, gapless prefetch, offline DRM, and royalty-grade play counting.

Audio Streaming Offline Sync Play Counting
Spotify Apple Amazon

Advanced

17 problems
Advanced

Distributed Job Scheduler

Redis ZSET hot window, leader election, retries, dead-letter queues.

Redis ZSET Leader Election DLQ
Uber Amazon Airbnb
Advanced

Delayed Trigger Service

SQS + Cassandra, hierarchical timing wheels, circuit breaker patterns.

Timing Wheel SQS Circuit Breaker
PhonePe Stripe
Advanced

Digital Wallet (PhonePe / Venmo)

Double-entry ledger, idempotency keys, reconciliation, saga pattern.

Double-Entry Ledger Idempotency Reconciliation
PhonePe Venmo Razorpay Stripe
Advanced

Food Delivery (Zomato / Uber Eats)

Elasticsearch search, Redis Geo proximity, dispatch algorithms, live tracking via WebSockets.

Elasticsearch Redis Geo Live Tracking
Zomato Uber Eats DoorDash Swiggy
Advanced

Stock Broker (Robinhood / Zerodha)

Order matching engine, CQRS event sourcing, exactly-once delivery, Kafka, real-time notifications.

Order Matching Event Sourcing Exactly-Once
Robinhood Zerodha Fidelity Groww
Advanced

Ride Sharing (Uber / Lyft)

Real-time driver matching, location tracking, ride lifecycle, surge pricing, ETA calculation.

Redis Geo WebSocket Matching
Uber Lyft Ola
Advanced

Video Streaming (Netflix / YouTube)

Video encoding pipeline, CDN edge caching, adaptive bitrate streaming, recommendation engine.

CDN Encoding Pipeline ABR Streaming
Netflix YouTube Disney+
Advanced

Collaborative Editing (Google Docs / Notion)

Real-time multi-user editing, OT/CRDT conflict resolution, presence tracking, version history.

CRDT WebSocket Conflict Resolution
Google Notion Figma
Advanced

Cloud File Storage (Dropbox / Google Drive)

Chunking, content-addressed dedup, delta sync, conflict resolution, version history.

Chunking Dedup Delta Sync
Dropbox Google Microsoft
Advanced

Metrics Monitoring (Datadog / Prometheus)

Time-series ingestion, Gorilla encoding, rollup aggregation, real-time alerting pipeline.

Time-Series DB Aggregation Alerting
Amazon Uber Netflix
Advanced

Ad Serving and Auction System

Real-time bidding, ML ad ranking, budget pacing, click fraud detection, impression tracking.

RTB Auction ML Ranking Budget Pacing
Google Meta Amazon
Advanced

Payment System (Stripe / Razorpay)

Payment orchestration, idempotency, double-entry ledger, settlement, reconciliation, PCI compliance.

Idempotency Ledger Reconciliation
Stripe Razorpay PhonePe
Advanced

Distributed Message Queue (Kafka)

Partitioned commit log, consumer groups, exactly-once delivery, ISR replication, ordering guarantees.

Partitioned Log Exactly-Once Replication
LinkedIn Uber Confluent
Advanced

Web Crawler & Search Engine

Two-level URL frontier for politeness, Bloom-filter dedup, sharded inverted index.

URL Frontier Bloom Filter Inverted Index
Google PhonePe Microsoft
Advanced

ChatGPT / Claude (AI Chat)

Token streaming over SSE, GPU inference scaling, context-window management, per-tier rate limits.

SSE Streaming GPU Scheduling Context Window
OpenAI Anthropic Google
Advanced

Freight Logistics System

Truck allocation, real-time tracking, route optimization, and ETA computation at scale.

Geo WebSocket Kafka
Uber Freight Rivigo Amazon Logistics
Advanced

Real-Time Load Bidding

Auction marketplace for freight loads, sorted sets for ranking, WebSocket fan-out for live updates.

Auction WebSocket Redis
Uber Freight Convoy Loadsmart
Advanced

E-Commerce Platform

Preventing oversell with conditional updates and reservations, order sagas on a durable workflow, checkout idempotency, CDC-fed search.

Inventory Consistency Saga Idempotency
Amazon Flipkart Walmart Meesho
Advanced

Trending Topics / Top K

Count-Min Sketch, Space-Saving heavy hitters, two-tier top-K aggregation, sliding windows, and rate-of-change ranking.

Count-Min Sketch Heavy Hitters Stream Processing
Twitter Google Meta

Recommended Study Order

Follow this progression to build concepts layer by layer. Each level builds on the previous.

1
Fundamentals + Framework CAP, Caching, Sharding, Queues + the 45-min delivery structure
Read β†’
2
Rate Limiter + Leaderboard + Pastebin + Key-Value Store + URL Shortener Single-service designs. Redis patterns. CDN basics. Storage fundamentals.
3
Chat System + Notification System + BookMyShow / Ticketmaster Multi-tier, async, WebSocket, distributed locks, payment flows.
4
Twitter Feed + Instagram Fan-out patterns, CDN delivery, feed ranking, celebrity problem.
5
Zomato / Uber Eats + Uber / Lyft Geo-proximity, live tracking, matching algorithms, surge pricing.
6
Digital Wallet + Stock Broker Staff+ level: financial consistency, event sourcing, exactly-once (PhonePe/Venmo, Robinhood/Zerodha).
7
Netflix / YouTube + Google Docs / Notion + Job Scheduler Expert level: encoding pipelines, CRDT/OT, distributed coordination.