internalsGet Pro

Module 14 · Lesson 1 of 15Pro

Serving patterns: batch, online and streaming

Level
Beginner
Topic
Deploying ML models
Reading time
14 min

When you finish this page you can

  1. Tell batch, online and streaming prediction apart by when the inputs are known and when the answer is needed.
  2. Choose a serving pattern for a model from its latency budget, how fresh its answers must be and whether its inputs can be listed in advance.
  3. Explain why one bulk call is much cheaper per prediction than many single calls, and what that means for online servers.
  4. Combine a nightly batch with online re-ranking, and say what each half handles.
  1. Design: a churn prediction model for an online store28 min
  2. Training pipelines: from notebook to repeatable job17 min

Video lesson · coming soon

The recommendations were made last night

is the online store this course uses as its example. Until now it has been a notebook-sized sample. From this module it is the grown-up store: about 5 million customers a day, 20 million products and 500,000 orders a day.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan