High-Level Design, animated step by step.

Short visual lessons on how real systems route traffic, handle failures, and scale. No fluff, no paywall.

Lessons

Animated system design diagram of what happens when you type a URL — 3. Dynamic API calls route through the L7 Load Balancer to app podsPictorial system design diagram tracing a browser URL request through DNS resolver, CDN edge, Layer-7 load balancer, application servers, Redis cache, and PostgreSQL database.. Live inventory and user pricing cannot sit in public edge cache. The CDN forwards GET /api/v1/product/sku-42 over a warm HTTP/2 connection pool to your origin L7 Load Balancer (reverse proxy), which sends it to the least-busy healthy app pod.EDGE & RESOLUTIONROUTING & COMPUTECACHE & DATA TIERDNS QueryHTTPS / TLSOrigin FetchHTTP/2 ProxyGET keySQL SELECTBrowser / AppHTTPS ClientDNS ResolverAnycast · UDP 53CDN Edge PoPTLS + Static CacheDYNAMIC PASSL7 Load BalancerReverse ProxyLEAST-CONNApp Server PoolStateless Go / NodeRedis CacheIn-Memory · ~1msPostgreSQL DBDurable Disk · ~18msGET /sku-42Pod #4
01·6 min

What Happens When You Type a URL in Your Browser?

Follow one HTTPS request from Enter key to painted pixel across DNS, TCP, TLS 1.3, CDN, load balancer, Redis, and PostgreSQL.

Animated consistent hashing architecture and hash ring diagram — 3. Walk clockwise from the key to its owning serverVisual diagram comparing modulo hashing across cache shards with a circular consistent hash ring, showing clockwise key routing, node removal impact, and virtual nodes.. Key K1 hashes to 75°. Walking clockwise hits S1 at 120°, so S1 owns K1. Key K2 at 255° walks clockwise to S3 at 300°. In code, servers sit in a sorted array so finding the first point >= hash(key) is a fast O(log N) binary search.REQUEST ROUTINGHASH RING SPACE (0 → 2³²-1)ORIGIN FALLBACK0°90°180°270°HASH RINGCW ↻ 0 → 2³²-1CW → S1CW → S3S0S1S2S3K1K2hash(key)Node ANode BMiss FloodHash RouterApp / Envoy ProxyAPI Traffic40K Key Lookups/sCache Node ARing @ 30°Cache Node BRing @ 150°OWNS K1Primary DBMiss FallbackK1 @ 75°Route → S1
06·7 min

Consistent Hashing Explained Visually

Why modulo hashing collapses when a cache node dies, and how hash rings with virtual nodes bound rebalancing to 1/N.

Animated distributed rate limiter system architecture diagram — 3. Legitimate shoppers pass cleanly at 28ms p99Pictorial system design diagram illustrating traffic spikes hitting an API Gateway rate limiter backed by Redis Token Bucket Lua scripts, protecting downstream microservices and databases.. User uid:4821 stays under 10 req/s (with burst room up to 20 for page loads). Redis returns allowed = 1 with 19 tokens remaining. The gateway forwards the call to Order Service and sets X-RateLimit-Remaining: 19.CLIENT TRAFFICRATE LIMITER TIER (EDGE / GW)PROTECTED BACKENDNormal 2K/sFlood 40K/sEVALSHA LuaLocal RulesAllowed 200Safe WritesLegit Users2K Normal RPSBot / Spike40K Scraper RPSAPI GatewayEnvoy / Kong ProxyALLOW · 200Redis BucketAtomic Lua · 0.6msRules StoreConfig · Cached LocalOrder ServiceProtected Go FleetCPU 32%Primary DBSteady Write IOPSGET /cart200 AllowedClean Write
13·7 min

Design a Distributed Rate Limiter (100K+ RPM)

Block traffic tsunamis, bots, and noisy neighbors using API Gateways, atomic Redis Lua Token Buckets, and HTTP 429 headers.

Full Syllabus

1. Core Fundamentals & Networking

Trace how bytes actually move across DNS, TLS, CDNs, reverse proxies, and APIs before scaling a single server.

2. Traffic Routing, Caching & Scaling

Absorb 100K+ RPM with load balancing, consistent hashing, multi-tier caching, and horizontal compute fleets.

3. Databases, Replication & Sharding

Understand primary-replica lag, write-ahead logs, B-Trees vs LSM-Trees, database sharding, and distributed indexing.

  • Primary-Replica Replication & Read-Your-WritesSoon
  • Database Sharding: Range, Hash & DirectorySoon
  • B-Tree vs LSM-Tree Storage EnginesSoon
  • How Bloom Filters Eliminate Disk LookupsSoon

4. Reliability, Rate Limiting & Resilience

Protect production from traffic tsunamis using distributed rate limiters, circuit breakers, bulkheads, and idempotency.

5. Async Queues & Event Streaming

Decouple slow work with Kafka partitions, consumer groups, dead-letter queues, backpressure, and outbox patterns.

  • How Apache Kafka Handles Millions of Events/SecSoon
  • Transactional Outbox & Change Data Capture (CDC)Soon
  • Queue Backpressure & Dead-Letter QueuesSoon

6. End-to-End System Design Case Studies

Combine every building block into full architectures: URL shortener, quick-commerce catalog, chat, and news feed.

  • Design a URL Shortener (TinyURL / Bitly)Soon
  • Design a Real-Time Chat System (WhatsApp)Soon
  • Design a News Feed (Hybrid Fan-Out)Soon
  • Design 10-Minute Quick Commerce InventorySoon

Why learn system design visually?

Static box-and-arrow diagrams hide what actually breaks in production. Every lesson here walks through baseline traffic, a concrete failure mode (cache flush, node crash, scraper spike), and the fix, paired with real numbers you can cite in an interview or design doc.

FAQ

What is High-Level Design (HLD)?
High-Level Design maps the macro architecture of a system: how clients, DNS, CDNs, load balancers, app servers, caches, databases, and queues work together to meet latency, scale, and reliability goals.
How are these lessons different from static system design notes?
Each lesson pairs an animated diagram with changing latency and QPS numbers, clickable component notes, capacity math, and real failure trade-offs instead of static wall-of-text summaries.
Are these lessons free to read without signing up?
Yes. Every lesson under ikshitij.com/hld/ is free, requires no account, and saves your progress locally in your browser.
Who writes these HLD lessons?
Kshitij Singh, Engineering Manager at Zepto (ex-Gojek, Nokia), based on 8+ years scaling 100K+ RPM microservices, distributed caches, and backend platforms.