All Questions
Llm Inference Serving easy

Your chat assistant returns each response only after generation completes. A typical answer is 400 tokens at about 40 tokens/s, and users say the app feels slow. What is the main effect of switching to token streaming?

  1. A Total generation time drops substantially, because the server no longer buffers the full response in memory.
  2. B GPU throughput increases, because tokens leave the server sooner and free their KV cache slots much earlier.
  3. C Nothing users would notice, because the model still generates exactly the same number of tokens per answer.
  4. D Users see the first words after roughly the TTFT instead of about 10 s, while total generation time is unchanged.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions