Study FAQ
How do online and batch inference differ in Azure ML capacity and cost planning?
Also asked as 2
- What should I measure before budgeting for an Azure ML online or batch endpoint?
- Which workload measurements determine online versus batch inference capacity in Azure ML?
Answer
Estimate managed online inference from the capacity you need available during the operating period, including peak concurrency and the actual response time. Estimate batch inference from the volume of data, job schedule, startup and queue time, and the parallel resources needed to finish by the deadline.
Run a representative workload for each feasible mode. For online, include payload size, memory and runtime lookups. For batch, measure per-item work and check scaling on the chosen compute. Review cluster idle or scale-to-zero settings, and include storage, monitoring or network costs where relevant. Verify regional capacity, quota and current prices for the chosen configuration before budgeting.
Microsoft Learn
Full explanation
AI-300: Choosing Online and Batch Inference
Study guide · AI-300
Read the full explanation