All Questions
Llm Inference Serving easy

During a traffic spike, your LLM API's request queue grows without bound. Requests wait about 60 seconds before prefill, and most clients give up at 30 seconds, even though the GPUs are fully busy. What is the best fix?

  1. A Pack more requests into each batch, so the GPUs work through the backlog faster and queueing delay falls.
  2. B Remove the queue entirely and let every request start decoding immediately inside the running batch.
  3. C Raise the client timeout to 120 seconds, so queued requests eventually complete instead of failing.
  4. D Cap queue depth or wait time and reject excess requests fast with 429, so admitted ones meet their SLO.

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

Get the app

Related questions