Last Minute Notes

High-Level Design (HLD)

Architecture-level system design: building blocks, distributed systems theory, classic and large-scale case studies, AI system design, frontend system design, and reliability.

HLD is about the shape of the whole system: which services, which data stores, how requests flow, how it scales, and how it fails. The pages below run from beginner to advanced.

  1. 01
    Building Blocks

    The components every HLD answer is made of: DNS, CDN, load balancers, API gateways, caches, SQL and NoSQL databases, replication, sharding, consistent hashing, queues and streams, object storage, search, and real-time protocols.

  2. 02
    Distributed Systems

    Advanced HLD theory: unreliable networks and clocks, replication and quorums, consensus (Raft), distributed locks, isolation levels, 2PC, sagas, outbox, idempotency, resilience patterns, event-driven design, multi-region, and blast-radius control.

  3. 03
    Classic Designs

    Eight classic HLD case studies with requirements, estimates, APIs, data models, flowcharts and trade-offs: URL shortener, rate limiter, unique ID generator, key-value store, notification system, web crawler, typeahead, and distributed cache.

  4. 04
    Large-Scale Designs

    Twelve senior-level HLD case studies with estimates, flowcharts and deep dives: news feed, chat, video streaming, ride hailing, file sync, ticket booking, payments, ad click aggregation, job scheduler, leaderboard, collaborative editing, and a monitoring system.

  5. 05
    AI System Design

    System design for LLM products: token economics, LLM inference serving (continuous batching, PagedAttention, prefix caching), a ChatGPT-style assistant, RAG with hybrid search and reranking, agents and MCP, AI gateways, evaluation, reliability and cost.

  6. 06
    Frontend System Design

    Frontend and full-stack system design: the RADIO framework, rendering strategies (CSR, SSR, SSG, ISR, streaming, RSC), Core Web Vitals, data fetching and state, real-time and offline, micro-frontends, security, and worked UI designs.

  7. 07
    Reliability and Operations

    Senior-level system design operations: SLOs and error budgets, observability with OpenTelemetry, deployment strategies, disaster recovery, security architecture, incident response, and lessons from the October 2025 AWS and November 2025 Cloudflare outages.

Read Fundamentals first if you have not. For the class-design side of interviews, see LLD.