Interactive AI & System Design Roadmap
Track 1 · AI Engineering & GenAI
LLM inference, KV cache, RAG hybrid search, Voice AI, TPM gateways, two-tower ranking, and production evals.
GenAI, RAG & AI Agents (Priority) · Multimodal AI, Voice & GPU Gateways · Production ML & Applied AI
- LLM Inference, KV Cache & Continuous Batching — Prefill vs. autoregressive decode, Key-Value (KV) caching with PagedAttention, and continuous batching for high GPU throughput
- RAG & Hybrid Vector Search (HNSW) — Chunking, dense vector embeddings, HNSW + BM25 hybrid retrieval, Cross-Encoder reranking, and grounded answers with citations
- Semantic Caching & Model Routing — Cutting LLM latency and API bills by 60%+ using vector similarity cache hits, KV prefix caching, and tiered model cascading
- AI Agents, ReAct Loop & Tool Sandboxing — Reason-Act-Observe loops, Model Context Protocol (MCP) tool schemas, guardrails, and isolated sandbox execution
- Speculative Decoding & Constrained JSON — 2–3x faster Large Language Model (LLM) generation with draft-model verification and 100% schema-valid outputs via Finite-State Machine (FSM) token masking
- Fine-Tuning, Multi-LoRA & RLHF / DPO — When to use Retrieval-Augmented Generation (RAG) vs. Fine-Tuning, swapping Low-Rank Adaptation (LoRA) adapters on 1 frozen base model, and alignment via Direct Preference Optimization (DPO)
- Long-Context & Episodic Memory Management — Context-window token budgeting, asynchronous rolling summarization, and episodic vs. semantic user memory
- Real-Time Voice AI Pipeline (WebRTC) — Streaming Voice Activity Detection (VAD) -> Speech-to-Text (STT) -> LLM -> Text-to-Speech (TTS) orchestration with barge-in interruption under 400 ms latency
- Multimodal Retrieval & Vision Encoders — Indexing Portable Document Format (PDF) files, charts, images, and video frames with Vision Transformer (ViT) / CLIP embeddings and Vision-Language Models (VLM)
- Multi-Provider AI Gateway & TPM Rate Limiting — Token-bucket Tokens-Per-Minute (TPM) & Requests-Per-Minute (RPM) enforcement, multi-provider failover, and prompt observability
- GPU Autoscaling & IVF-PQ Vector Compression — Solving multi-minute GPU cold starts with Non-Volatile Memory Express (NVMe) weight streaming and shrinking billion-scale vectors via Inverted File + Product Quantization (IVF-PQ)
- Multi-Stage Ranking & Two-Tower Retrieval — Narrowing 100M+ candidates to 10 personalized results in <100ms via Retrieval -> Scoring -> Reranking
- Feature Stores & Real-Time Feedback Loops — Eliminating Training-Serving Skew with unified Online (Redis) and Offline (Parquet) feature pipelines
- Distributed Training & Model Quantization — Data vs Tensor vs Pipeline Parallelism across GPU clusters, and shrinking weights (FP16 -> INT4)
- Shadow Rollouts, Drift & LLM Evals — Safely shipping AI models with Shadow Mirroring, Canary A/B tests, Drift alerts, and LLM-as-a-Judge
- Explore vs. Exploit (Contextual Bandits) — Solving recommender cold-start and selection bias with Thompson Sampling & Upper Confidence Bound (UCB)
- Real-Time Fraud & Anomaly Detection — Sub-25 ms streaming velocity rules + Machine Learning (ML) risk ensemble + asynchronous human review queues
Track 2 · Backend, Data & Distributed Systems
Scaling, networking, APIs, storage engines, caching, Kafka event streaming, Raft consensus, and resiliency.
Core Concepts & Scalability · Networking & Traffic · APIs & Real-Time Communication · Databases & Storage Internals · Caching & Performance · Async Messaging & Event Streams · Distributed Systems & Resiliency
- Horizontal vs Vertical Scaling — Growing capacity by upgrading a single machine vs distributing load across a fleet
- Latency vs Throughput — Understanding response time vs processing capacity and why tail latency (p99) matters
- Availability, Reliability & SPOF — Designing for five nines (99.999%) and eliminating Single Points of Failure
- CAP Theorem & PACELC — Why distributed data stores must trade off Consistency vs Availability during network partitions
- Consistent Hashing — Distributing keys across servers with minimal remapping when nodes scale up or crash
- DNS Resolution & Routing — How human-readable domains resolve to Internet Protocol (IP) addresses via hierarchical caching, TTLs, and GeoDNS
- TCP, UDP & HTTP Evolution — Reliable ordered streams vs. low-overhead datagrams, and HTTP/1.1 -> HTTP/2 -> HTTP/3 over QUIC
- Load Balancing & Algorithms — Distributing traffic at Layer 4 (L4) and Layer 7 (L7) using Round Robin, Least Connections, and health-checked pools
- Proxies & Content Delivery Networks (CDN) — Forward vs. Reverse Proxies and serving static or dynamic assets from global Edge Points of Presence (PoPs)
- REST vs. GraphQL vs. gRPC — Choosing the right Application Programming Interface (API) paradigm and serialization format (JSON vs. Protocol Buffers)
- API Gateway & Rate Limiting — Protecting backend services using Token Bucket, Leaky Bucket, and Sliding Window algorithms backed by atomic Redis
- WebSockets, SSE & Long Polling — Comparing client-server push patterns for live chat, notifications, and streaming AI tokens at scale
- Webhooks & Idempotency — Delivering reliable asynchronous callbacks and preventing duplicate payments or orders on network retries
- SQL vs NoSQL Databases — Choosing between ACID relational schemas and horizontally scalable Document, Key-Value (KV), Wide-Column, and Graph stores
- B-Trees vs LSM-Trees — How databases lay out and index bytes on SSD/NVMe disks for read-heavy vs. write-heavy workloads
- Database Replication — Leader-Follower read scaling, Multi-Leader regional writes, and Leaderless Quorum (W + R > N) math
- Database Sharding & Partitioning — Splitting massive datasets horizontally across independent database shards without creating celebrity hot spots
- ACID, 2PC & Saga Pattern — Maintaining distributed data integrity across microservices using Two-Phase Commit vs. compensating Sagas
- Caching Strategies — Cache-Aside, Read-Through, Write-Through, and Write-Behind (Write-Back) synchronization patterns
- Cache Eviction & Thundering Herd — LRU/LFU eviction policies and defeating Cache Stampedes and Cache Penetration with Singleflight and Jitter
- Message Queues vs Event Streaming (Kafka) — Decoupling producers from slow consumers using Task Queues vs partitioned append-only Logs
- Pub/Sub, Dead Letter Queues & Backpressure — Handling poison-pill messages safely and preventing slow consumers from crashing producers
- Consensus & Leader Election (Raft) — How clusters agree on one Leader and replicate state safely despite crashes and split-brains
- Circuit Breaker & Exponential Backoff — Preventing cascading failures across microservices using Circuit Breakers, Jitter, and Bulkheads
- Distributed Locks & Logical Clocks — Why wall-clock time lies in distributed systems, Fencing Tokens, and Lamport/Vector Clocks
Track 3 · End-to-End Case Studies
Full-stack animated walkthroughs of TinyURL, WhatsApp Chat, Social News Feed fanout, and Video Streaming.
Real-World Case Studies
- Design a URL Shortener (TinyURL) — Base62 encoding, Key Generation Service (KGS), 100:1 read-heavy Redis caching, and HTTP 301 vs. 302 redirects
- Design a Real-Time Chat System (WhatsApp) — Stateful WebSocket gateways, User-to-Server Redis registry, Snowflake IDs, delivery receipts, and offline push
- Design a Social News Feed (Twitter / X) — Solving the Celebrity Fan-out problem with Hybrid Push (Fan-out on Write) + Pull (Fan-out on Read)
- Design a Video Streaming Platform (YouTube / Netflix) — Chunked uploads, parallel DAG transcoding to HLS/MPEG-DASH bitrates, and Adaptive Bitrate CDN delivery