Compile Ready
Learning/System Design

System Design — High Level Design

A structured path through the system design interview — from foundational building blocks to distributed systems, staff-level platforms, and modern AI systems. Every question is a full 25-section deep dive: requirements, capacity math, an interactive architecture diagram, deep dives, tradeoffs, and interview tips.

62

Questions

30

Available now

5

Learning tiers

12+

Companies

13 categories across 5 tiers · new questions added regularly
Difficulty
Category
Company

Foundations

Building-block systems every senior engineer must be able to design cold — caches, rate limiters, gateways, and stores.

10/10 available
Beginner

URL Shortener

Design a TinyURL-style service that maps billions of long URLs to short, unique, low-latency redirects.

StorageDistributed SystemsAmazonMicrosoftGoogle
45m Very High 98
Intermediate

Rate Limiter

Design a distributed rate limiter that throttles requests per client with predictable latency and accuracy.

InfrastructureDistributed SystemsStripeAmazonGoogle
45m Very High 95
Intermediate

Distributed Cache

Design a horizontally-scalable cache like Redis/Memcached with sharding, eviction, and high hit rates.

StorageDistributed SystemsAmazonMetaNetflix
50m Very High 92
Advanced

Key-Value Store

Design a Dynamo-style distributed key-value store with tunable consistency and fault tolerance.

StorageDistributed SystemsAmazonDatabricksSnowflake
60m High 88
Intermediate

Logging System

Design a high-throughput, searchable logging pipeline that ingests terabytes of logs per day.

MonitoringInfrastructureAmazonNetflixDatabricks
50m High 80
Intermediate

Metrics Collection

Design a time-series metrics system that collects, aggregates, and stores millions of data points per second.

MonitoringInfrastructureAmazonMicrosoftDatabricks
50m Medium 78
Intermediate

Monitoring System

Design an end-to-end monitoring and alerting platform with dashboards, thresholds, and on-call routing.

MonitoringInfrastructureAmazonMicrosoftNetflix
50m High 79
Intermediate

API Gateway

Design an API gateway handling routing, auth, rate limiting, and observability for hundreds of services.

InfrastructureDistributed SystemsAmazonNetflixStripe
50m High 84
Intermediate

Notification Service

Design a multi-channel (push, SMS, email) notification service delivering billions of messages reliably.

MessagingInfrastructureAmazonUberLinkedIn
50m High 83
Beginner

Pastebin

Design a Pastebin-style service for storing and sharing text snippets with expiry and access control.

StorageAmazonMicrosoft
40m Medium 74

Common Interview Questions

The product-scale designs asked most often at top companies — feeds, chat, storage, streaming, and marketplaces.

20/20 available
Advanced

Twitter

Design a Twitter-scale microblogging platform: tweets, timelines, fan-out, and trending topics.

Social MediaDistributed SystemsMetaAmazonLinkedIn
60m Very High 96
Advanced

Instagram

Design a photo-sharing social network with feeds, stories, media storage, and social graph.

Social MediaStorageMetaGoogleAmazon
60m Very High 94
Advanced

Facebook Feed

Design a news feed with ranking, fan-out, and real-time updates for billions of users.

Social MediaMetaLinkedInGoogle
60m Very High 93
Advanced

LinkedIn Feed

Design a professional-network feed with relevance ranking, connections, and activity fan-out.

Social MediaLinkedInMetaMicrosoft
60m High 85
Advanced

Reddit

Design a community platform with subreddits, nested comments, voting, and hot/ranking algorithms.

Social MediaAmazonMetaGoogle
60m High 82
Advanced

TikTok

Design a short-video platform with a recommendation feed, upload pipeline, and global CDN delivery.

VideoSocial MediaMetaGoogleNetflix
65m High 90
Advanced

WhatsApp

Design a real-time messaging system with delivery receipts, group chat, and end-to-end encryption.

MessagingDistributed SystemsMetaAmazonMicrosoft
65m Very High 95
Advanced

Slack

Design a team-messaging platform with channels, threads, presence, search, and integrations.

MessagingAmazonMicrosoftMeta
60m High 84
Advanced

Discord

Design a chat + voice platform with servers, channels, low-latency voice, and presence at scale.

MessagingVideoMetaAmazonNetflix
60m Medium 81
Advanced

Dropbox

Design a file-sync and storage service with chunking, deduplication, and conflict resolution.

StorageAmazonMicrosoftGoogle
60m High 86
Advanced

Google Drive

Design a collaborative cloud-storage platform with sharing, versioning, and real-time collaboration.

StorageGoogleMicrosoftAmazon
60m High 85
Advanced

YouTube

Design a video-sharing platform: upload/transcoding pipeline, storage, CDN, and view counting.

VideoStorageGoogleNetflixAmazon
65m Very High 92
Advanced

Netflix

Design a video-streaming platform with adaptive bitrate, global CDN, and personalized recommendations.

VideoNetflixAmazonGoogle
65m High 91
Advanced

Uber

Design a ride-hailing system with real-time matching, geospatial indexing, and surge pricing.

MapsDistributed SystemsUberAmazonGoogle
65m Very High 93
Advanced

Amazon

Design an e-commerce platform with catalog, cart, inventory, and order fulfillment at scale.

E-CommerceStorageAmazonMicrosoft
65m High 87
Advanced

Payment Gateway

Design a payment gateway with idempotent charges, ledgers, reconciliation, and PCI compliance.

PaymentsDistributed SystemsStripeAmazonUber
60m High 89
Intermediate

Shopping Cart

Design a shopping-cart service with session persistence, inventory holds, and checkout consistency.

E-CommerceAmazonStripe
50m Medium 76
Intermediate

Google Calendar

Design a calendar system with events, recurrence, invitations, reminders, and timezone handling.

SchedulingStorageGoogleMicrosoft
55m Medium 77
Intermediate

Autocomplete

Design a typeahead/autocomplete system with tries, ranking, and sub-50ms suggestions at scale.

SearchGoogleAmazonLinkedIn
50m High 85
Advanced

Google Search

Design a web-search engine: crawling, inverted index, ranking, and low-latency query serving.

SearchDistributed SystemsGoogleMicrosoft
70m High 88

Advanced Distributed Systems

The distributed-systems primitives behind everything else — queues, locks, consensus, and multi-region data.

0/12 available
Advanced Coming soon

Kafka

Design a distributed event-streaming log with partitions, replication, and consumer groups.

MessagingDistributed SystemsDatabricksAmazonLinkedIn
65m High 90
Advanced Coming soon

RabbitMQ

Design a message broker with exchanges, queues, routing, acknowledgements, and delivery guarantees.

MessagingDistributed SystemsAmazonMicrosoft
60m Medium 74
Advanced Coming soon

Distributed Queue

Design an SQS-style distributed queue with at-least-once delivery, visibility timeouts, and DLQs.

MessagingDistributed SystemsAmazonUberStripe
60m High 82
Advanced Coming soon

Distributed Lock

Design a distributed lock with fencing tokens, TTLs, and safe failover using Redis or ZooKeeper.

Distributed SystemsInfrastructureAmazonGoogleDatabricks
55m High 83
Advanced Coming soon

Service Discovery

Design a service-discovery system with health checks, registration, and client-side load balancing.

InfrastructureDistributed SystemsAmazonNetflixMicrosoft
55m Medium 75
Intermediate Coming soon

Feature Flag Platform

Design a feature-flag platform with targeting rules, gradual rollouts, and low-latency evaluation.

InfrastructureAmazonMicrosoftStripe
50m Medium 72
Intermediate Coming soon

Configuration Service

Design a dynamic configuration service with versioning, propagation, and safe rollbacks.

InfrastructureDistributed SystemsAmazonMicrosoftDatabricks
50m Medium 70
Advanced Coming soon

Leader Election

Design a leader-election mechanism using consensus, leases, and automatic failover.

Distributed SystemsGoogleAmazonDatabricks
55m Medium 79
Advanced Coming soon

Consensus

Design a consensus system (Raft/Paxos) providing a replicated, linearizable state machine.

Distributed SystemsGoogleDatabricksSnowflake
70m Medium 81
Advanced Coming soon

Multi-Region Database

Design a globally-distributed database with multi-region replication and conflict resolution.

StorageDistributed SystemsGoogleAmazonSnowflake
70m High 84
Advanced Coming soon

Service Mesh

Design a service mesh with sidecar proxies, mTLS, traffic shaping, and observability.

InfrastructureDistributed SystemsGoogleAmazonMicrosoft
60m Medium 73
Advanced Coming soon

Distributed Transaction

Design distributed transactions with sagas, two-phase commit, and eventual consistency tradeoffs.

Distributed SystemsPaymentsStripeAmazonUber
60m High 80

Staff / Principal

Platform- and org-scale systems: control planes, schedulers, global routing, and multi-tenant SaaS.

0/12 available
Advanced Coming soon

CI/CD

Design a CI/CD platform with build pipelines, artifact storage, and safe progressive deployments.

InfrastructureMicrosoftAmazonDatabricks
60m Medium 76
Advanced Coming soon

Terraform Cloud

Design an infrastructure-as-code control plane with state management, locking, and plan/apply runs.

InfrastructureMicrosoftAmazon
60m Low 68
Advanced Coming soon

GitHub

Design a code-hosting platform with Git storage, pull requests, CI hooks, and search.

StorageInfrastructureMicrosoftAmazonGoogle
65m Medium 82
Advanced Coming soon

Jira

Design an issue-tracking platform with flexible workflows, permissions, and cross-project search.

E-CommerceStorageMicrosoftAmazon
60m Low 65
Advanced Coming soon

Cloud Monitoring

Design a cloud-scale monitoring platform ingesting metrics, logs, and traces with alerting.

MonitoringInfrastructureAmazonMicrosoftDatabricks
65m Medium 74
Advanced Coming soon

Cloud Storage

Design an S3-style object store with durability, erasure coding, and multi-region replication.

StorageDistributed SystemsAmazonGoogleMicrosoft
70m High 85
Advanced Coming soon

Azure Resource Manager

Design a cloud resource-management control plane with declarative templates and reconciliation.

InfrastructureDistributed SystemsMicrosoftAmazon
65m Low 66
Advanced Coming soon

Kubernetes Scheduler

Design a container scheduler with bin-packing, constraints, priorities, and preemption.

InfrastructureDistributed SystemsGoogleAmazonMicrosoft
65m Medium 80
Advanced Coming soon

Control Plane

Design a generic control plane with declarative desired state, reconciliation loops, and drift detection.

InfrastructureDistributed SystemsGoogleAmazonMicrosoft
65m Medium 71
Advanced Coming soon

Event Bus

Design an org-wide event bus with schema registry, routing, replay, and exactly-once semantics.

MessagingDistributed SystemsAmazonNetflixDatabricks
60m Medium 72
Advanced Coming soon

Global Load Balancer

Design a global load balancer with geo-DNS, anycast, health-aware routing, and failover.

InfrastructureDistributed SystemsGoogleAmazonNetflix
60m Medium 78
Advanced Coming soon

Multi-Tenant SaaS

Design a multi-tenant SaaS platform with isolation, per-tenant scaling, and noisy-neighbor control.

InfrastructureDistributed SystemsMicrosoftAmazonSnowflake
65m Medium 79

AI System Design

Designing the systems behind modern AI products — inference serving, retrieval, embeddings, and agents.

Moved

Now part of Generative AI

AI system design — ChatGPT, RAG, vector databases, agents, and inference serving — now lives in the dedicated Generative AI hub, alongside foundations, production AI, interview prep, and projects.

Go to Generative AI