Practice and self-review
Practice System Design
Practice System Design. Diagnose readiness, trace resource models and review your designs with explicit criteria. Read the explanation and worked decisions.
Published date · Author's judgment
More
Diagnose the decision, then choose a prerequisite
Try each prompt before checking. Each explanation links to a concept to revisit; these questions are a study aid, not a validated professional-level score.
Six timed design sessions
Each session suggests 45 minutes, introduces a changed condition around minute 20 and supplies an explicit self-review. The timer is optional; it does not grade your prose.
Workload estimator
Hypothetical payload model: daily operations = users × operations/user; average = daily / 86,400; peak = average × selected peak factor; payload bandwidth = peak × bytes/operation.
Trace an LRU cache
Every miss in this simplified trace requests the origin. There is no TTL, concurrent miss coalescing or authorization model. Cache order is shown oldest to newest.
Move a token on a placement ring
Tokens A=20, B=60 and C=90 own numeric key positions clockwise, wrapping after 99. Add owner D at an unused token. The exercise starts from already hashed positions and does not model replicas, migration or failure.
Your review queue
- Enable JavaScript to show locally saved review flags.
All chapter exercises
- Back-of-Envelope Capacity Estimation
- Latency Numbers & Networking Foundations
- Load Balancing & API Gateways
- SQL vs. NoSQL vs. NewSQL Storage Engines
- Indexes & Storage Engines: B-Trees vs. LSM Trees
- Distributed Caching & Stampede Prevention
- Message Queues & Event Streams: Kafka vs. RabbitMQ
- Consistency Models: CAP, PACELC & Linearizability
- Database Sharding & Consistent Hashing
- Replication, Consensus & Automated Failover
- Rate Limiting Algorithms: Token Bucket to Sliding Window
- Idempotency Keys & Distributed Retries
- Monolith vs. Microservices Architecture
- Service Discovery & Service Mesh Architecture
- Observability, Distributed Tracing & Error Budget SLOs
- Timeouts, Circuit Breakers & Backpressure
- Distributed Consensus: Raft & Multi-Paxos
- Distributed Transactions: 2PC vs. Saga Orchestration
- Event Sourcing & CQRS Architecture
- Time, Clocks & Distributed Ordering: Lamport to TrueTime
- CDN Architecture, Anycast & Edge Compute
- Security Architecture, Zero-Trust & Multi-Tenancy
- URL Shortener Architecture
- Real-Time Distributed Chat System
- Distributed News Feed Architecture
- High-Throughput Ledger & Payment Gateway
- Video Streaming Platform Architecture
- Search Engine & Real-Time Typeahead
- Ride-Hailing & Geospatial Matching
- Real-Time Collaborative Editing
- Enterprise RAG System Architecture & Failure Modes
- High-Throughput LLM Inference Serving
- Autonomous Agent Orchestration Platform
- AI Evaluation, Red-Teaming & Observability Pipeline
- Enterprise AI Gateway: Routing, Semantic Caching & Guardrails
- Enterprise Copilot Platform: Full Architecture (Capstone)
- Distributed Unique ID Generator (Twitter Snowflake Scale)
- Distributed Lock Manager (etcd / ZooKeeper / Chubby Internals)
- Distributed Task & Cron Scheduler (Temporal / Quartz Scale)
- Distributed Blob & Object Storage (Amazon S3 Scale)
- Distributed File Systems (GFS / HDFS / Colossus Architecture)
- In-Memory Distributed Key-Value Store (Redis Cluster / Memcached)
- Time-Series Database Engine (Prometheus / InfluxDB / Gorilla)
- Graph Database & Authorization Engine (Google Zanzibar / Meta TAO)
- Change Data Capture (CDC) & Outbox Pipelines (Debezium Scale)
- Real-Time Stream Processing Engine (Apache Flink Internals)
- Real-Time OLAP & Columnar Analytics (ClickHouse / Apache Pinot)
- Modern Data Lakehouse Architecture (Apache Iceberg / Delta Lake)
- Large-Scale Log Aggregation & Search Pipeline (Datadog / Splunk Scale)
- Feature Store Architecture for Real-Time ML (Feast / Tecton Scale)
- Vector Database Internals (Milvus / Qdrant / pgvector Scale)
- Distributed Web Crawler
- Notification & Omnichannel Push System
- Cloud File Sync & Sharing Service
- High-Concurrency Ticket Booking System
- Flash Sale & E-Commerce Inventory Engine
- Hotel & Flight Reservation System
- Ad Click Aggregation & Real-Time Bidding (RTB)
- Real-Time Gaming Leaderboard
- Proximity Service & Business Discovery
- Food Delivery & Multi-Hop Logistics
- Stock Exchange & Low-Latency Order Matching Engine
- Cloud CI/CD & Ephemeral Container Execution
- Multi-Region Active-Active Architecture & Disaster Recovery
- Distributed Webhooks & Event Delivery Platform
- Real-Time Voice & Multimodal AI Streaming
- AI Code Indexing & Repository Context Engine
- Large-Scale Model Training & Checkpoint Infrastructure
- Multi-Tenant SaaS Control Plane & Usage-Based Metering