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.
8 write-ups
| Title | Difficulty |
|---|---|
| Design a RAG System Answer questions over hundreds of millions of private documents with cited, grounded answers, keep the index fresh as documents change, and meet the bar for legal work. | Hard |
| Design a Deep Research Agent An agent that plans, searches, reads hundreds of sources and writes a cited report over 5-30 minutes: the research loop, durable long-running jobs, claim-level citations, cost budgets and evals. | Hard |
| Design a Feature Store Define ML features once, compute them in batch and streaming, serve them online in milliseconds and build point-in-time correct training sets from the same definitions. | Hard |
| Design a Machine Learning Platform An internal platform where hundreds of teams label data, run experiments on shared GPUs, register models and deploy them to production endpoints, with lineage, safe rollouts and monitoring. | 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 |
| Design an LLM Fine-Tuning System A platform to fine-tune LLMs with SFT, LoRA and DPO: datasets, GPU jobs, checkpoints, evals and deployment, applied to code completion, domain Q&A and legal contract analysis. | Hard |
| Design Glean Search and answer questions across a company's Slack, Drive, Jira, Confluence and email, showing each person only what they can open in the source app, and staying in sync with all of it. | Hard |
| Design Object Detection for Autonomous Vehicles 3D object detection for a self-driving car: camera and LiDAR fusion in bird's-eye view, a 50 ms on-vehicle budget, a data engine with auto-labelling, the long tail, and safety evaluation. | Hard |