All lessons in AI Engineering: From Foundation Models to Evaluated Applications
Schedule Continuous Batches and Admission
Simulate request arrivals, release finished slots, and compare fairness with useful throughput.
90 minutes · Members lesson · preview
What you will learn
- Simulate fixed and continuously updated batches under explicit simplifying assumptions.
- Evaluate scheduling using admission, deadlines, fairness, and useful throughput.
- Design a bounded load experiment that includes rejections and cancellations.
Your cache budget limits active sequences. The next question is how to use those slots as requests arrive and finish. A serving policy must balance utilization with the waiting experienced by short, long, and resumed requests.
Budget 90 minutes: 20 for the scheduling model, 45 to implement a small simulator or run a bounded server experiment, and 25 to compare outcomes. A simulator explains the policy; it does not predict real GPU speed unless its timing assumptions have been calibrated and validated.