internalsGet Pro

Module 14 · Lesson 5 of 15Pro

Real-time features at prediction time

Level
Intermediate
Topic
Deploying ML models
Reading time
18 min

When you finish this page you can

  1. Sort a model’s features by how fresh they must be, and pick batch, streaming or request-time computation for each.
  2. Build a sliding-window count from a stream of events, with state that stays small during an attack.
  3. Fit feature reads inside a prediction’s latency budget, and decide what the model does when a fresh value is late.
  4. Explain how to build training rows for features that only exist in a stream.
  1. Feature stores: one feature, training and serving17 min
  2. Serving patterns: batch, online and streaming14 min

Video lesson · coming soon

Fourteen cards, one stale number

is the online store this course uses as its example. It now serves 5 million customers a day and takes 500,000 orders a day. At checkout, a fraud model scores every order in under 50 ms and blocks the risky ones.

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