Interview Prep/MLOps/Model serving

How do you choose between batch scoring and a real-time endpoint?

AdvancedProductionModel serving
Answer

If predictions can be computed ahead of time (daily recommendations, risk scores) batch is cheaper and simpler: run a job, write results to a table or cache. Use real-time endpoints only when the prediction depends on data that exists at request time, such as a payment being made right now.

All MLOps questions Roadmap: Model serving & GPUs

More on Model serving