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 Inference System Serve a /v1/chat/completions API on a shared GPU fleet with continuous batching, a paged KV cache, prefill/decode disaggregation, LoRA adapters and cache-aware routing. | Hard |
| Design AI Code Completion Copilot-style inline completion: fill-in-the-middle models, retrieving context from the repo, a 250 ms budget per keystroke, and acceptance and retention metrics that tell you if it helps. | Hard |
| Design an AI Search Engine like Perplexity Answer questions with a cited, up-to-date summary of the web in a few seconds, by searching, reading and synthesizing pages live, and go deeper with multi-step research when asked. | Hard |