All Questions
Llm Inference Serving medium

Your multi-tenant inference API limits each tenant to 60 requests per minute. One tenant sends 40 requests per minute, each with a 100K-token prompt, and other tenants' TTFT degrades badly even though everyone is within limits. How should you rework the limits?

  1. A Lower the request limit for every tenant so total requests per minute stay under the cluster's measured capacity.
  2. B Cap each tenant at a fixed number of concurrent streams, since open connections are what consume GPU resources.
  3. C Meter tokens per minute, counting prompt and output tokens, because GPU cost scales with tokens, not requests.
  4. D Route the heavy tenant to replicas with larger batch sizes so its long prompts are processed more efficiently.

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

Get the app

Related questions