DesignTheSystem/dev

70 simulated system design problems

System design interview problems

Real system design interview problems with explicit traffic profiles, p99 latency targets, availability SLAs and monthly budgets. Read the brief, then build and stress-test your architecture in the live simulator.

Read-Heavy & Caching (8)

EASY 20,000 RPS · p99 < 50ms

High-Volume URL Shortener

Design a URL shortening service handling 20,000 peak requests/sec with a 99:1 Read/Write ratio. Keep p99 latency under 50ms with 99.99% availability.

Asked at: Google, Amazon, Microsoft, Meta

MEDIUM 30,000 RPS · p99 < 200ms

Real-time Activity Feed

Serve home timeline feeds for 30,000 peak requests/sec (90% reads). Ensure p99 latency stays under 200ms with 99.9% availability.

EASY 15,000 RPS · p99 < 80ms

E-Commerce Search & Catalog

Serve high-traffic product catalog queries for 15,000 peak RPS (95% reads). Maintain p99 latency under 80ms while protecting database IOPS.

EASY 15,000 RPS · p99 < 60ms

Design Pastebin Text Sharing

Design a text-sharing service like Pastebin handling 15,000 read RPS and 1,500 write RPS. Store text payloads in Object Storage while querying metadata rapidly with low latency.

Asked at: Amazon, Google, Atlassian

HARD 25,000 RPS · p99 < 80ms

Design Key-Value Store

Design Key-Value Store: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Amazon, Redis Labs, Meta

HARD 40,000 RPS · p99 < 40ms

Design Distributed Cache

Design Distributed Cache: Architect a scalable, highly-available distributed system capable of sustaining 40,000 peak RPS (95% reads). Maintain p99 latency under 40ms with 99.9% availability while optimizing monthly infrastructure cost within $450/mo.

Asked at: Meta, Twitter, Amazon

HARD 40,000 RPS · p99 < 40ms

Design CDN

Design CDN: Architect a scalable, highly-available distributed system capable of sustaining 40,000 peak RPS (95% reads). Maintain p99 latency under 40ms with 99.9% availability while optimizing monthly infrastructure cost within $450/mo.

Asked at: Cloudflare, Akamai, Fastly

HARD 25,000 RPS · p99 < 80ms

Design Object Storage like S3

Design Object Storage like S3: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: AWS, Google Cloud, Dropbox

E-Commerce & Fintech (8)

MEDIUM 50,000 RPS · p99 < 150ms

Flash Sale Inventory Gate

Handle a sudden burst of 50,000 checkout requests/sec (80% writes) without overselling inventory. Target p99 latency under 150ms and 99.9% availability.

Asked at: Amazon, Alibaba, Flipkart, Shopify

HARD 10,000 RPS · p99 < 100ms

Design Digital Wallet & Payment Ledger

Design an ACID-compliant digital wallet and double-entry ledger handling 10,000 checkout transfers/sec. Ensure zero data loss, strict idempotency, and sub-100ms p99 latency.

Asked at: Stripe, PayPal, Apple, Square

MEDIUM 25,000 RPS · p99 < 80ms

Design Amazon

Design Amazon: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Amazon, Walmart, Target

MEDIUM 25,000 RPS · p99 < 80ms

Design Shopify

Design Shopify: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Shopify, Stripe, Amazon

MEDIUM 80,000 RPS · p99 < 100ms

Design Online Auction System

Design Online Auction System: Architect a scalable, highly-available distributed system capable of sustaining 80,000 peak RPS (20% reads). Maintain p99 latency under 100ms with 99.9% availability while optimizing monthly infrastructure cost within $2500/mo.

Asked at: eBay, Amazon, StockX

MEDIUM 80,000 RPS · p99 < 100ms

Design Movie Booking System

Design Movie Booking System: Architect a scalable, highly-available distributed system capable of sustaining 80,000 peak RPS (20% reads). Maintain p99 latency under 100ms with 99.9% availability while optimizing monthly infrastructure cost within $2500/mo.

Asked at: Ticketmaster, BookMyShow, AMC

MEDIUM 20,000 RPS · p99 < 50ms

Design Payment System

Design Payment System: Architect a scalable, highly-available distributed system capable of sustaining 20,000 peak RPS (30% reads). Maintain p99 latency under 50ms with 99.9% availability while optimizing monthly infrastructure cost within $750/mo.

Asked at: Stripe, PayPal, Square, Visa

MEDIUM 20,000 RPS · p99 < 50ms

Design Stock Exchange

Design Stock Exchange: Architect a scalable, highly-available distributed system capable of sustaining 20,000 peak RPS (30% reads). Maintain p99 latency under 50ms with 99.9% availability while optimizing monthly infrastructure cost within $750/mo.

Asked at: Robinhood, Coinbase, Bloomberg, Citadel

Real-Time & Messaging (7)

MEDIUM 100,000 RPS · p99 < 300ms

Push Notification Pipeline

Ingest and deliver 100,000 event notifications/sec (95% writes). Decouple ingest from delivery workers to guarantee p99 ingest latency under 300ms.

HARD 80,000 RPS · p99 < 120ms

Chat App Message Broker

Deliver 80,000 messages/sec (70% message writes). Scale consumers and partitions to keep p99 latency under 120ms without unbounded lag.

EASY 60,000 RPS · p99 < 50ms

Design WhatsApp

Design WhatsApp: Architect a scalable, highly-available distributed system capable of sustaining 60,000 peak RPS (40% reads). Maintain p99 latency under 50ms with 99.9% availability while optimizing monthly infrastructure cost within $850/mo.

Asked at: Meta, Apple, Telegram

EASY 60,000 RPS · p99 < 50ms

Design Slack

Design Slack: Architect a scalable, highly-available distributed system capable of sustaining 60,000 peak RPS (40% reads). Maintain p99 latency under 50ms with 99.9% availability while optimizing monthly infrastructure cost within $850/mo.

Asked at: Salesforce, Microsoft, Discord

EASY 60,000 RPS · p99 < 50ms

Design Live Comments

Design Live Comments: Architect a scalable, highly-available distributed system capable of sustaining 60,000 peak RPS (40% reads). Maintain p99 latency under 50ms with 99.9% availability while optimizing monthly infrastructure cost within $850/mo.

Asked at: Meta, TikTok, YouTube

HARD 60,000 RPS · p99 < 50ms

Design Messaging Queue

Design Messaging Queue: Architect a scalable, highly-available distributed system capable of sustaining 60,000 peak RPS (40% reads). Maintain p99 latency under 50ms with 99.9% availability while optimizing monthly infrastructure cost within $850/mo.

Asked at: LinkedIn, Confluent, Uber

HARD 25,000 RPS · p99 < 80ms

Design a Scalable Notification Service

Design a Scalable Notification Service: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (10% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Apple, Meta, Amazon

Social & Streaming (10)

MEDIUM 2,000 RPS · p99 < 200ms

Video Upload & Metadata Pipeline

Handle 2,000 heavy media uploads/sec. Avoid routing large video blobs directly through API servers; decouple storage from asynchronous transcode workers.

EASY 25,000 RPS · p99 < 80ms

Design Instagram

Design Instagram: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Meta, Snapchat, Pinterest

EASY 25,000 RPS · p99 < 80ms

Design FB News Feed

Design FB News Feed: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Meta, X (Twitter), LinkedIn

EASY 70,000 RPS · p99 < 60ms

Design TikTok

Design TikTok: Architect a scalable, highly-available distributed system capable of sustaining 70,000 peak RPS (90% reads). Maintain p99 latency under 60ms with 99.9% availability while optimizing monthly infrastructure cost within $1500/mo.

Asked at: ByteDance, Meta, Snapchat

EASY 25,000 RPS · p99 < 80ms

Design Reddit

Design Reddit: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Reddit, Pinterest, Discord

MEDIUM 70,000 RPS · p99 < 60ms

Design Spotify

Design Spotify: Architect a scalable, highly-available distributed system capable of sustaining 70,000 peak RPS (90% reads). Maintain p99 latency under 60ms with 99.9% availability while optimizing monthly infrastructure cost within $1100/mo.

Asked at: Spotify, Apple, Amazon

MEDIUM 70,000 RPS · p99 < 60ms

Design YouTube

Design YouTube: Architect a scalable, highly-available distributed system capable of sustaining 70,000 peak RPS (90% reads). Maintain p99 latency under 60ms with 99.9% availability while optimizing monthly infrastructure cost within $1850/mo.

Asked at: Google, Netflix, Twitch

MEDIUM 70,000 RPS · p99 < 60ms

Design Netflix

Design Netflix: Architect a scalable, highly-available distributed system capable of sustaining 70,000 peak RPS (90% reads). Maintain p99 latency under 60ms with 99.9% availability while optimizing monthly infrastructure cost within $1850/mo.

Asked at: Netflix, Amazon, Disney+

MEDIUM 25,000 RPS · p99 < 80ms

Design Twitch

Design Twitch: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Amazon, Twitch, Discord

HARD 25,000 RPS · p99 < 80ms

Design Likes Counting System

Design Likes Counting System: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Meta, TikTok, YouTube

Distributed Infrastructure (15)

HARD 150,000 RPS · p99 < 100ms

Global Clickstream Analytics

Ingest 150,000 telemetry events/sec (100% writes). Buffer data with partitioned streams and batch-process to persistent storage.

HARD 10,000 RPS · p99 < 300ms

Distributed Web Crawler Sync

Coordinate distributed URL frontier polling and storage for 10,000 pages/sec (60% writes). Use object storage for page bodies and separate fast deduplication filters.

MEDIUM 60,000 RPS · p99 < 15ms

Design Distributed Rate Limiter

Design a distributed rate limiter guarding downstream microservices against 60,000 peak requests/sec. Use fast in-memory token buckets to keep p99 latency under 15ms.

Asked at: Stripe, Cloudflare, Twilio

MEDIUM 25,000 RPS · p99 < 80ms

Design Search Autocomplete System

Design Search Autocomplete System: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Google, Amazon, Microsoft

MEDIUM 25,000 RPS · p99 < 80ms

Design Web Crawler

Design Web Crawler: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (40% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $1400/mo.

Asked at: Google, Microsoft, DuckDuckGo

MEDIUM 25,000 RPS · p99 < 80ms

Design Google Search

Design Google Search: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Google, Microsoft, Baidu

MEDIUM 150,000 RPS · p99 < 80ms

Design Ad Click Aggregator

Design Ad Click Aggregator: Architect a scalable, highly-available distributed system capable of sustaining 150,000 peak RPS (5% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $2250/mo.

Asked at: Meta, Google, Amazon

MEDIUM 100,000 RPS · p99 < 15ms

Design Load Balancer

Design Load Balancer: Architect a scalable, highly-available distributed system capable of sustaining 100,000 peak RPS (70% reads). Maintain p99 latency under 15ms with 99.9% availability while optimizing monthly infrastructure cost within $650/mo.

Asked at: Cloudflare, AWS, Google Cloud

HARD 100,000 RPS · p99 < 15ms

Design API Gateway

Design API Gateway: Architect a scalable, highly-available distributed system capable of sustaining 100,000 peak RPS (70% reads). Maintain p99 latency under 15ms with 99.9% availability while optimizing monthly infrastructure cost within $650/mo.

Asked at: AWS, Netflix, Kong

HARD 25,000 RPS · p99 < 80ms

Design Time Series Database

Design Time Series Database: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (20% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Datadog, InfluxData, Prometheus

HARD 25,000 RPS · p99 < 80ms

Design Locking Service

Design Locking Service: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (50% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Google, Apache, Meta

HARD 25,000 RPS · p99 < 80ms

Design Top K

Design Top K: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (20% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Google, Meta, Amazon

HARD 25,000 RPS · p99 < 80ms

Design Job Scheduler

Design Job Scheduler: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $800/mo.

Asked at: Airbnb, Lyft, Google

HARD 25,000 RPS · p99 < 80ms

Design CI/CD Pipeline

Design CI/CD Pipeline: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $1200/mo.

Asked at: GitHub, GitLab, Atlassian

HARD 25,000 RPS · p99 < 80ms

Design Monitoring and Alerting System

Design Monitoring and Alerting System: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Datadog, PagerDuty, Grafana

Geospatial & Mobility (6)

HARD 40,000 RPS · p99 < 100ms

Ride-Sharing Driver Matching

Handle 40,000 RPS (50% real-time location updates, 50% match requests). Isolate volatile ephemeral state from durable relational data.

EASY 25,000 RPS · p99 < 80ms

Design Tinder

Design Tinder: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Match Group, Bumble, Hinge

MEDIUM 25,000 RPS · p99 < 80ms

Design Airbnb

Design Airbnb: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Airbnb, Booking.com, Expedia

MEDIUM 45,000 RPS · p99 < 75ms

Design Food Delivery Service

Design Food Delivery Service: Architect a scalable, highly-available distributed system capable of sustaining 45,000 peak RPS (50% reads). Maintain p99 latency under 75ms with 99.9% availability while optimizing monthly infrastructure cost within $800/mo.

Asked at: DoorDash, Uber, Instacart

MEDIUM 45,000 RPS · p99 < 75ms

Design Uber

Design Uber: Architect a scalable, highly-available distributed system capable of sustaining 45,000 peak RPS (50% reads). Maintain p99 latency under 75ms with 99.9% availability while optimizing monthly infrastructure cost within $800/mo.

Asked at: Uber, Lyft, Grab

MEDIUM 45,000 RPS · p99 < 75ms

Design Google Maps

Design Google Maps: Architect a scalable, highly-available distributed system capable of sustaining 45,000 peak RPS (50% reads). Maintain p99 latency under 75ms with 99.9% availability while optimizing monthly infrastructure cost within $800/mo.

Asked at: Google, Apple, Uber

Stateful & Collaboration (10)

MEDIUM 40,000 RPS · p99 < 25ms

Design Real-Time Gaming Leaderboard

Design a real-time gaming leaderboard handling 40,000 score submissions and rank lookups/sec. Keep p99 response time under 25ms without overloading backend SQL.

HARD 30,000 RPS · p99 < 35ms

Design Collaborative Document Editor

Design a real-time collaborative document editor like Google Docs with active keystroke sync for 30,000 concurrent edits/sec. Decouple fast session state from snapshot persistence.

Asked at: Google, Microsoft, Notion, Dropbox

EASY 25,000 RPS · p99 < 80ms

Design Zoom

Design Zoom: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Zoom, Microsoft, Google, Cisco

MEDIUM 25,000 RPS · p99 < 80ms

Design Google Drive

Design Google Drive: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Google, Dropbox, Microsoft

MEDIUM 25,000 RPS · p99 < 80ms

Design Gmail

Design Gmail: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Google, Microsoft, Yahoo

MEDIUM 25,000 RPS · p99 < 80ms

Design News Aggregator

Design News Aggregator: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Apple, Google, Yahoo

HARD 25,000 RPS · p99 < 80ms

Design Real Time Leaderboard

Design Real Time Leaderboard: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Riot Games, Epic Games, DraftKings

HARD 25,000 RPS · p99 < 80ms

Design LeetCode

Design LeetCode: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: LeetCode, HackerRank, Codeforces

HARD 25,000 RPS · p99 < 80ms

Design Calendar System

Design Calendar System: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Google, Microsoft, Calendly

HARD 25,000 RPS · p99 < 80ms

Design Online Chess

Design Online Chess: Architect a scalable, highly-available distributed system capable of sustaining 25,000 peak RPS (80% reads). Maintain p99 latency under 80ms with 99.9% availability while optimizing monthly infrastructure cost within $600/mo.

Asked at: Chess.com, Lichess

AI & LLM Systems (6)

HARD 1,800 RPS · p99 < 380ms

Multi-Tenant LLM Inference Platform (ChatGPT-Scale)

Design an LLM inference platform serving 1,800 peak req/s (85% conversational reads/completions, 15% fine-tune/feedback writes). Keep p99 TTFT under 380ms, 99.9% availability, and stay within $4,200/mo by avoiding raw GPU burn on repeated prompts.

HARD 2,400 RPS · p99 < 420ms

Real-Time RAG Answer Engine (Perplexity-Style)

Design a real-time RAG search engine handling 2,400 peak req/s (90% grounded queries, 10% live web index updates). Keep p99 under 420ms, 99.9% availability, and budget under $3,800/mo.

MEDIUM 1,200 RPS · p99 < 350ms

Enterprise Document Q&A Copilot (PII + ACL Safe)

Design an enterprise workspace AI copilot serving 1,200 peak req/s (75% Q&A reads, 25% document upload/re-index writes). Enforce safety/PII guardrails, keep p99 under 350ms, 99.9% availability, within $2,200/mo.

HARD 4,000 RPS · p99 < 220ms

AI Code Autocomplete Engine (Cursor / Copilot)

Design an IDE code completion backend handling 4,000 peak req/s (95% inline completion reads, 5% telemetry/acceptance writes). Keep p99 latency under 220ms with 99.95% availability under $4,500/mo.

MEDIUM 1,600 RPS · p99 < 320ms

Agentic Support Ticket Triage System

Design an agentic customer support triage pipeline handling 1,600 peak req/s (60% knowledge lookup reads, 40% ticket action/tool writes). Keep p99 under 320ms, 99.9% availability, under $2,800/mo.

HARD 1,400 RPS · p99 < 300ms

Real-Time Conversational Voice AI Pipeline

Design a real-time conversational Voice AI backend serving 1,400 peak req/s (80% turn-inference reads, 20% transcript/session writes). Keep p99 turn latency under 300ms, 99.9% availability, under $3,600/mo.