System design round

High-Level Design Problems

39 designs 24 topics 56 companiesUpdated Oct 2026

Every design walked end to end: requirements, diagrams, technology choices and the deep dives interviewers actually push on.

Difficulty
Topics
Companies
Status
Completion filters become available once your progress has loaded. Saving entries for later is not available on this page yet.

0 of 39 completed

39 results

  • Step 1 of the study orderReal-Time Leaderboard

    Redis sorted sets, top-N queries, real-time ranking at scale.

    Ranking Caching Realtime Push
    Dream11 Hotstar
    about 30 minutes to readBeginner
  • Step 2 of the study orderRate Limiter

    Token bucket, sliding window, distributed limiting with Redis Lua scripts.

    Rate Limiting Caching Resilience
    Google Stripe Cloudflare
    about 35 minutes to readBeginner
  • Step 3 of the study orderPastebin / Text Sharing

    Unique ID generation, object storage, CDN caching, and expiry cleanup. The easiest full system design.

    ID Generation Blob Storage CDN Edge
    Google Amazon Meta
    about 25 minutes to readBeginner
  • Step 4 of the study orderUnique ID Generator

    Snowflake IDs, UUID, range allocation, clock skew. The building block every distributed system needs.

    ID Generation Coordination
    Twitter Discord Instagram
    about 30 minutes to readBeginner
  • Step 5 of the study orderKey-Value Store (Redis / DynamoDB)

    Consistent hashing, replication, quorum reads/writes, LSM trees. Foundation of all distributed DBs.

    Sharding Replication Coordination
    Amazon Google Databricks
    about 35 minutes to readBeginner
  • Step 6 of the study orderURL Shortener (Bitly / TinyURL)

    Base62 encoding, Snowflake IDs, CDN caching, click analytics pipeline.

    ID Generation Caching CDN Edge Sharding
    Google Amazon Microsoft
    about 40 minutes to readBeginner
  • Step 7 of the study orderSocial Feed (Twitter / Threads)

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

    Fan-out Caching Ranking
    Meta Twitter Linkedin
    about 35 minutes to readIntermediate
  • Step 8 of the study orderChat System (WhatsApp / iMessage)

    WebSocket connections, offline delivery queues, Cassandra message store.

    Realtime Push Fan-out Idempotency
    Meta Slack Discord
    about 50 minutes to readIntermediate
  • Step 9 of the study orderNotification System

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

    Fan-out Event Streams Idempotency Rate Limiting
    Amazon Uber Phonepe
    about 60 minutes to readIntermediate
  • Step 10 of the study orderPhoto Sharing (Instagram / Pinterest)

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

    Fan-out CDN Edge Media Ranking
    Meta Pinterest Snap
    about 40 minutes to readIntermediate
  • Step 11 of the study orderTicket Booking (BookMyShow / Ticketmaster)

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

    Concurrency Transactions Rate Limiting Realtime Push
    Bookmyshow Ticketmaster Amazon
    about 45 minutes to readIntermediate
  • Step 12 of the study orderNews Aggregator (Google News)

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

    Ranking Async Pipeline Caching
    Google Apple Microsoft
    about 30 minutes to readIntermediate
  • Step 26 of the study orderRide Sharing (Uber / Lyft)

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

    Geospatial Matching Realtime Push Concurrency
    Uber Lyft Ola
    about 40 minutes to readAdvanced
  • Step 13 of the study orderSearch Autocomplete / Typeahead

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

    Search Caching Sharding Aggregation
    Google Linkedin Amazon
    about 40 minutes to readIntermediate Pro
  • Step 14 of the study orderNearby Service (Yelp / Google Maps)

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

    Geospatial Caching Ranking
    Google Uber Swiggy
    about 30 minutes to readIntermediate Pro
  • Step 15 of the study orderShopping Cart (Amazon / Flipkart)

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

    Caching Concurrency
    Amazon Flipkart Meesho
    about 35 minutes to readIntermediate Pro
  • Step 16 of the study orderQ&A Forum (Quora / StackOverflow)

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

    Search Caching Replication Ranking
    Phonepe Meta Atlassian
    about 30 minutes to readIntermediate Pro
  • Step 17 of the study orderImage Processing Microservice

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

    Async Pipeline Media Blob Storage Idempotency
    Amazon Cloudinary Shopify
    about 35 minutes to readIntermediate Pro
  • Step 18 of the study orderBusiness Rules Engine

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

    Caching Event Streams Async Pipeline
    Amazon Razorpay Goldman Sachs
    about 40 minutes to readIntermediate Pro
  • Step 19 of the study orderDistributed Cache

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

    Caching Sharding Replication
    Amazon Google Meta Uber
    about 70 minutes to readIntermediate Pro
  • Step 20 of the study orderSpotify / Music Streaming

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

    Media CDN Edge Ledgers Ranking
    Spotify Apple Amazon
    about 65 minutes to readIntermediate Pro
  • Step 21 of the study orderDistributed Job Scheduler

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

    Scheduling Coordination Idempotency Rate Limiting
    Uber Amazon Airbnb
    about 50 minutes to readAdvanced Pro
  • Step 22 of the study orderDelayed Trigger Service

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

    Scheduling Idempotency Coordination Resilience
    Phonepe Stripe
    about 40 minutes to readAdvanced Pro
  • Step 23 of the study orderDigital Wallet (PhonePe / Venmo)

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

    Ledgers Idempotency Concurrency Transactions
    Phonepe Venmo Razorpay Stripe
    about 50 minutes to readAdvanced Pro
  • Step 24 of the study orderFood Delivery (Zomato / Uber Eats)

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

    Geospatial Matching Realtime Push Search
    Zomato Uber Eats Doordash Swiggy
    about 50 minutes to readAdvanced Pro
  • Step 25 of the study orderStock Broker (Robinhood / Zerodha)

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

    Matching Event Streams Idempotency Realtime Push
    Robinhood Zerodha Fidelity Groww
    about 40 minutes to readAdvanced Pro
  • Step 27 of the study orderVideo Streaming (Netflix / YouTube)

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

    Media CDN Edge Ranking
    Netflix Youtube Disney
    about 45 minutes to readAdvanced Pro
  • Step 28 of the study orderCollaborative Editing (Google Docs / Notion)

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

    Replication Realtime Push Sharding
    Google Notion Figma
    about 45 minutes to readAdvanced Pro
  • Step 29 of the study orderCloud File Storage (Dropbox / Google Drive)

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

    Blob Storage Replication Realtime Push
    Dropbox Google Microsoft
    about 30 minutes to readAdvanced Pro
  • Step 30 of the study orderMetrics Monitoring (Datadog / Prometheus)

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

    Aggregation Event Streams Sharding
    Amazon Uber Netflix
    about 35 minutes to readAdvanced Pro
  • Step 31 of the study orderAd Serving and Auction System

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

    Matching Ranking Aggregation Rate Limiting
    Google Meta Amazon
    about 30 minutes to readAdvanced Pro
  • Step 32 of the study orderPayment System (Stripe / Razorpay)

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

    Ledgers Idempotency Resilience
    Stripe Razorpay Phonepe
    about 30 minutes to readAdvanced Pro
  • Step 33 of the study orderDistributed Message Queue (Kafka)

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

    Event Streams Idempotency Replication Rate Limiting
    Linkedin Uber Confluent
    about 25 minutes to readAdvanced Pro
  • Step 34 of the study orderWeb Crawler & Search Engine

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

    Search Async Pipeline Sharding
    Google Phonepe Microsoft
    about 40 minutes to readAdvanced Pro
  • Step 35 of the study orderChatGPT / Claude (AI Chat)

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

    Realtime Push Scheduling Rate Limiting
    Openai Anthropic Google
    about 35 minutes to readAdvanced Pro
  • Step 36 of the study orderFreight Logistics System

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

    Geospatial Realtime Push Concurrency
    Uber Freight Rivigo Amazon Logistics
    about 35 minutes to readAdvanced Pro
  • Step 37 of the study orderReal-Time Load Bidding

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

    Matching Realtime Push Fan-out Concurrency
    Uber Freight Convoy Loadsmart
    about 30 minutes to readAdvanced Pro
  • Step 38 of the study orderE-Commerce Platform

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

    Concurrency Transactions Idempotency Search
    Amazon Flipkart Walmart Meesho
    about 50 minutes to readAdvanced Pro
  • Step 39 of the study orderTrending Topics / Top K

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

    Aggregation Ranking
    Twitter Google Meta
    about 65 minutes to readAdvanced Pro

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