Skip to content
Preptima
hardDesignScenarioSeniorStaffLead

How would you autoscale a GPU inference service?

6 min readUpdated 2026-08-15

Answer

Short answer

Scale on queue depth or in-flight concurrency rather than request rate, because a GPU replica that takes minutes to load weights cannot be added after the queue has already formed.

Keep autoscaling explicit in the answer because that is the concept the interviewer is actually trying to test. A good autoscaling explanation names the trade-off, the failure mode, and the evidence you would use before choosing. Use autoscaling once more at the decision point so the answer reads as judgement rather than a detached example.

Was this answer helpful?

Likely follow-ups

  • Your model takes four minutes to become ready. What scaling signal gives you four minutes of warning?
  • Would you scale to zero for this service, and what would have to be true first?
  • How do you keep a scale-up from being triggered by a retry storm you caused yourself?
  • Where does batching help your autoscaler, and where does it confuse it?

Related questions

Further reading