Scale against the measured workload
Use the batch-size and latency limits from Day 6 to choose target concurrency. Compare how fast demand changes with the warmup time measured on Day 7.
Before you start
A readiness timeline and a repeatable rate sweep. Use the fixed trace in benchmark recipe B for both policies.
Read and predict 1 hour including video
Inference Engineering · §7.2 pp. 183–192
Use the printed page numbers. In the supplied PDF, add two to reach the viewer page. Write a prediction for the question below before opening its answer.
Build and test 3 hours
Implement a 5 s reconciliation loop with floor 1, ceiling 4 and a 60 s scale-down window. Model a 30 s startup. Replay a 10× arrival burst.
Work one sample by hand
With two slots per replica, two active jobs and three waiting, compute ceil(5/2) = 3 desired replicas.
Replay startup
Add a 30-second startup delay. Log desired, starting and ready every five seconds. Replay the same observation twice.
Drain after the burst
Hold the lower target for 60 seconds, then drain idle workers. Plot queue depth alongside ready capacity.
Troubleshooting
If replicas overshoot, check whether the controller included already-starting workers.
Save your result 1 hour
Save a fixed-versus-dynamic comparison with target, ready, starting, rejected and replica-seconds. Write a scale-down rule.
Explain from memory 1 hour
A burst lasts 20 s but startup takes 30 s. Can a reactive scale-up rescue the first requests?
Check your reasoning
Fresh workers arrive too late for short deadlines. Compare warm headroom, admission limits or predictive scaling against their cost.
Plot ready, starting, queue depth and rejected together. Explain what happens when supply is exhausted.