LLM System Design Interview, issue 14, Nov 11, 2025

The Two Faces of Inference

ML Engineer interview at Google, and the interviewer asks:

β€œWe need to serve our model for two different use cases: a low-latency chatbot that needs a fast π“π’π¦πž-𝐭𝐨-𝐅𝐒𝐫𝐬𝐭-π“π¨π€πžπ§ (𝐓𝐓𝐅𝐓), and a high-throughput batch summarization job. How do these two workloads stress the GPU differently, and what fundamental tradeoff are you managing?”

Don’t say: β€œFor the chatbot, I’d use a small batch size (like 1) for low latency. For the batch job, I’d use a large batch size for high throughput.”

Why your chatbot’s latency and your batch job’s throughput fight over different GPU limits - and how to balance compute-bound and memory-bound workloads.

The full answer, with the mechanism and the arithmetic, is for paid subscribers on Substack.

Read it on Substack

Get the next one

Free on Substack. Unsubscribe in one click.