All Questions
Llm Inference Serving hard

Your chat product streams at about 40 tokens/s per user with a median TTFT of 1.5 s. A proposal would spend this quarter's GPU budget on doubling per-stream decode speed to 80 tokens/s by running smaller batches. What is the better decision?

  1. A Fund the decode speedup, since streaming at 80 tokens/s halves total response time and users perceive faster streams as proportionally faster.
  2. B Spend the budget on TTFT through queue headroom, prefix caching, and chunked prefill, since 40 tokens/s already exceeds reading speed.
  3. C Fund the speedup by adding GPUs to each replica, since higher tensor parallelism doubles decode speed without raising the cost per token.
  4. D Disable streaming and return complete responses, since at 40 tokens/s the stream adds overhead and total latency would drop noticeably.

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

Get the app

Related questions