⏱ 3 min read

πŸ—οΈ High-Level Design (HLD)

Scale systems to millions of users β€” networking, databases, caching, message queues, distributed systems, reliability, and full case studies.

Track B Β· Weeks 11–24 4 / 14 Modules Complete 3 Phases

Phase B-I β€” Foundations (Weeks 11–15)

B1 Β· Week 11 βœ“ Complete

HLD Fundamentals

Scalability, CAP Theorem, Consistency Models, Availability Patterns, Load Balancing, Latency vs Throughput. Back-of-envelope estimation and the SD Interview Framework.

B2 Β· Week 12 βœ“ Complete

Databases at Scale

Indexing (B-Tree, Hash, Composite, Covering), ACID vs BASE, SQL vs NoSQL decision framework, Replication, Sharding strategies, and a practical DB Selection Guide.

B3 Β· Week 13 βœ“ Complete

Caching

Cache-Aside, Write-Through, Write-Back, Read-Through. LRU/LFU eviction, cache invalidation, stampede prevention. Redis data structures (Strings, Hashes, Sets, Sorted Sets) and CDN caching.

B4 Β· Week 14 βœ“ Complete

Message Queues & Kafka

Async messaging patterns, Kafka architecture (partitions, offsets, consumer groups), at-least-once vs exactly-once, backpressure.

B5 Β· Week 15 πŸ”œ Soon

Coming Soon

Next HLD module β€” to be announced.


Phase B-II β€” System Designs at Scale (Weeks 16–20)

B6 Β· Week 16 βœ“ Done

Design Twitter/X Feed

Fan-out on write vs read, hybrid timeline generation, graph DBs, custom cache.

B7 Β· Week 17 βœ“ Done

Design WhatsApp

WebSockets, Cassandra, session store, delivery receipts, presence system.

B8 Β· Week 18 βœ“ Done

Design YouTube

Chunked upload, transcoding (temporal parallelism), HLS adaptive streaming, 3-tier CDN, sharded view counter, Elasticsearch search.

B9 Β· Week 19 βœ“ Done

Design a Rate Limiter

5 algorithms (fixed/sliding window, token/leaky bucket), Redis Lua scripts, distributed limiting, HTTP 429 headers, multi-tier architecture.

B10 Β· Week 20 βœ“ Done

Consistent Hashing & Service Discovery

Hash ring, virtual nodes, Consul, ZooKeeper, client vs server-side discovery, health checks, gossip protocol, Raft consensus.


Phase B-III β€” Advanced & Distributed Topics (Weeks 21–24)

B11 Β· Week 21 πŸ”œ Soon

Storage Systems

Object storage (S3), blob storage, HDFS, time-series DBs, search engines (Elasticsearch), columnar analytics (BigQuery, Redshift).

B12 Β· Week 22 πŸ”œ Soon

Special Topics

Full-text search, notification systems (push/pull), geospatial systems, unique ID generation (UUID, Snowflake), top-K / trending.

B13 Β· Week 23 βœ“ Done

ML Systems Design

Feature stores, model serving infrastructure, A/B testing at scale, recommendation system design, stream processing for ML pipelines.

B14 Β· Week 24 βœ“ Done

Kubernetes & Containers

Docker fundamentals, Kubernetes architecture (pods, services, ingress), horizontal pod autoscaling, rolling deployments, Helm.


Module Coverage Summary

Phase Modules Weeks Topics
B-I: Foundations B1–B5 11–15 HLD Fundamentals, Databases at Scale, Caching, Message Queues, URL Shortener
B-II: System Designs B6–B10 16–20 Twitter Feed, WhatsApp, YouTube, Rate Limiter, Consistent Hashing
B-III: Advanced B11–B14 21–24 Distributed Transactions, Interview Framework, ML Systems, Kubernetes