Hao Yi Cheah & System Design Notes
Comprehensive FAANG-level system design interview walkthroughs, back-of-envelope calculations, architectural diagrams, and deep dives across 20 production systems.
System Design Framework & Trade-Off Analysis
FAANG system design interviews test your ability to navigate ambiguity, quantify scale with back-of-envelope calculations, make deliberate trade-offs, and defend architectural resilience under failure.
10-Section Blueprint
Every design follows a rigorous 10-section structure: Requirements, BoE Math, Interface, High-Level Architecture, Deep Dives, Data Models, Trade-offs, Scalability, Curveballs, and Failure Modes.
Quantify & Calculate
Three concrete assumption tiers (Conservative, Base, Aggressive) establish exact RPS, bandwidth, storage, memory, and cache requirements before sketching any boxes.
Defend Curveballs
Master real interviewer pushback: 100x read spikes, celebrity fanout skew, flash-crowd concurrency contention, network partitions, and cascading failure mitigations.
System Design Categories & Case Studies
Complete architectural walkthroughs, calculations, Mermaid diagrams, schemas, and interview curveball strategies across 12 core domains.
Social Media
Hybrid feed generation, asynchronous media pipelines, graph fanout, and ephemerality.
Booking Systems
Seat reservations, high-concurrency burst locking, train waitlists, and timeout state machines.
Cloud Infrastructure
Multi-tenant compute, virtual private clouds, storage planes, and fine-grained IAM evaluation.
Analytics & Telemetry
High-throughput event ingestion, Lambda architectures, anomaly alerting, and on-call escalation.
Payments & Subscriptions
Double-entry ledgers, strict idempotency, payment gateways, proration, and dunning workflows.
E-commerce
High-scale product catalogs, distributed cart, inventory reservation, and order fulfillment.
Communication & Chat
Real-time WebSocket connection gateways, Signal E2EE encryption, presence registries, and group fanout.
Geospatial & Location
Quadtree/H3 indexing, dynamic driver-rider dispatching, ETA computation, and food delivery routing.
Real-Time Gaming
Authoritative server loops, move validation, ELO matchmaking, lag compensation, and zone sharding.
Collaborative Storage
Real-time OT/CRDT document collaboration, exabyte object storage, and erasure coding durability.
Mail & Search
SMTP/IMAP gateway clusters, machine learning spam filters, and inverted-index full-text search.
Video & Streaming
Live low-latency ingest, chunked ABR transcoding, global CDN caches, and interactive chat fanout.