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.
26 write-ups
| Title | Difficulty |
|---|---|
| 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 Dynamic Pricing for Ride-Sharing Surge pricing as an ML system: demand and supply forecasts per cell, price elasticity learned from confounded data, an optimizer or RL policy that sets multipliers, and switchback tests. | 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 |
| Design Real-Time Video Understanding Models that watch live video as it happens: on-device detection and tracking for 30 fps effects, and cloud stream understanding that drives auto comments, captions and highlights. | Hard |