System Design Bank

๐Ÿš€ AI Engineer Journey โ€” Plan & Trackers ยท Hope AI โ€” ML & DS Course

Starts: Week 5 ยท 1 question per session ยท Draw + talk approach

๐Ÿ’ก Framework: How to Answer Any System Design Question

  • Clarify requirements (ask 3 questions first โ€” always)
  • Estimate scale (back-of-envelope math)
  • High-level architecture (draw the boxes)
  • Deep dive on 2 key components
  • Discuss tradeoffs and alternatives
  • Talk through failure modes

๐Ÿค– AI-Specific System Design Questions

QuestionWeekStatusNotes
Design a simple conversation storage system5โญ•Memory types, scale
Design monitoring for a RAG system6โญ•LangSmith, latency SLAs
Database choice for a RAG system7โญ•SQL vs NoSQL vs Vector DB
Architecture of deployed RAG bot as API8โญ•FastAPI + Docker + HuggingFace
Design a multi-agent system10โญ•Supervisor-worker pattern
MCP at scale11โญ•Anthropic's design decisions
Production RAG system12โญ•Hybrid search, reranking
Fine-tune vs RAG vs few-shot decision13โญ•Decision framework
Production LLM serving system14โญ•Latency, cost, scale
Vector database at scale15โญ•Pinecone vs Weaviate vs Chroma
Safe AI application with guardrails16โญ•Constitutional AI
Design ChatGPT/Claude at 10M users18โญ•Full scale AI system
RAG for 100M-document enterprise18โญ•Chunking, indexing, retrieval
Multi-agent pipeline with human-in-loop18โญ•Agent orchestration
Real-time AI coding assistant18โญ•GitHub Copilot style

๐Ÿ—๏ธ Traditional System Design Questions

QuestionWeekStatusKey Concepts
Design URL Shortener17โญ•Hashing, caching, CDN
Design Rate Limiter17โญ•Token bucket, sliding window
Design Notification System17โญ•Queues, fanout, push vs pull

๐Ÿ“š Key Concepts Reference

ConceptWhen to Use
CAP TheoremAny distributed system tradeoff
SQL vs NoSQLData storage decisions
RedisCaching, session storage, pub/sub
Message QueuesAsync processing, decoupling
CDNStatic assets, global latency
Load BalancersHorizontal scaling
Horizontal vs Vertical ScalingTraffic growth questions
Circuit BreakersLLM failure handling