ML system design
ML and AI system design for interviews: recommendation and ranking, LLM serving, RAG and agents. Free to read.
ML and AI system design for interviews: recommendation and ranking, LLM serving, RAG and agents. Free to read.
4 write-ups
| Title | Difficulty |
|---|---|
| Design an LLM Gateway One proxy between a company's apps and every LLM provider, with model routing, response and prompt caching, fallbacks, cost and latency observability, and per-team budgets and token quotas. | Medium |
| Design A/B Testing for LLM Features Send 10% of traffic to a new prompt or model through config, measure five metrics per variant including safety, and roll the change back automatically when safety regresses. | Medium |
| Design an Agent for Incident Root Cause Analysis An agent that investigates alerts across logs, metrics, traces and deploys, ranks root causes with evidence, and proposes fixes that run only behind deterministic controls and human approval. | Hard |
| Design an LLM Evaluation and Observability System Trace every LLM call, tool call and agent step, score quality offline and on live traffic with checks, LLM judges and humans, and benchmark multi-agent workflows and coding agents. | Hard |