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.
3 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 Offline Batch Inference Service Run a model, plus the user's own pre- and post-processing script, over millions of records on shared GPUs, with sharding, fair allocation, progress tracking and retries that resume work. | Medium |