All Questions
Llm Inference Serving easy

Every request to your support bot begins with the same 2,000-token system prompt, followed by a short user message. TTFT is higher than you want. Which optimization targets this pattern directly?

  1. A Speculative decoding, which uses a small draft model to process the shared system prompt more quickly.
  2. B A larger batch size, so multiple requests share a single prefill pass over their combined prompts.
  3. C Prefix caching, which reuses the stored KV cache for the shared system prompt across all requests.
  4. D Streaming the response, which shows output to the client before the system prompt finishes prefill.

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

Get the app

Related questions