DS-301g · Module 3
Model Deployment Patterns
3 min read
A model in a notebook is a proof of concept. A model in production is a business capability. The deployment pattern determines how predictions reach decision-makers. Batch deployment: the model runs on a schedule (daily, weekly) and produces a set of predictions stored in a database. The dashboard or report queries the predictions. Best for: forecasts, periodic scoring, report generation. Real-time deployment: the model runs on demand when an event triggers it. A new deal enters the pipeline — the model scores it immediately. Best for: deal scoring, fraud detection, recommendation engines. Each pattern has different infrastructure requirements, different failure modes, and different monitoring needs. Choose the pattern that matches the decision cadence, not the most impressive technology.