πŸ—οΈ 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.

πŸ“– Module β†’ πŸ“ Notes β†’
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.

πŸ“– Module β†’ πŸ“ Notes β†’
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.

πŸ“– Module β†’ πŸ“ Notes β†’
B4 Β· Week 14 βœ“ Complete

Message Queues & Kafka

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

πŸ“– Module β†’ πŸ“ Notes β†’
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.

πŸ“– Module β†’ πŸ“ Notes β†’
B7 Β· Week 17 βœ“ Done

Design WhatsApp

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

πŸ“– Module β†’ πŸ“ Notes β†’
B8 Β· Week 18 βœ“ Done

Design YouTube

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

πŸ“– Module β†’ πŸ“ Notes β†’
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.

πŸ“– Module β†’ πŸ“ Notes β†’
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.

πŸ“– Module β†’ πŸ“ Notes β†’

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.

πŸ“– Module β†’ πŸ“ Notes β†’
B14 Β· Week 24 βœ“ Done

Kubernetes & Containers

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

πŸ“– Module β†’ πŸ“ Notes β†’

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