All Questions
Llm Inference Serving easy

A summarization endpoint takes a 3,000-token prompt and returns a 600-token summary, and p50 latency is about 15 seconds. Product wants it faster without changing hardware. Which change is likely to cut end-to-end latency the most?

  1. A Ask for a shorter summary of about 150 tokens, since each output token needs its own sequential forward pass.
  2. B Trim the prompt to 1,500 tokens, since the input is five times larger than the output and dominates the total work.
  3. C Double the server batch size, since processing more requests together amortizes per-step overhead for everyone.
  4. D Switch to streaming responses, since sending tokens as they are generated shortens the total generation time.

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

Get the app

Related questions