Repaso
EspaƱol
MLOps & servingCoreMLO-09

How can you release a new model version with low risk?

Options

  1. Replace the old model for everyone at once, at night
  2. Send a small share of real traffic to the new version (a canary), compare its metrics with the old one, and increase the share step by step (Correct option)
  3. Test it only offline and then deploy
  4. Give it to the internal team forever

Answer

Send a small share of real traffic to the new version (a canary), compare its metrics with the old one, and increase the share step by step

Why

A canary exposes only a few users to a possible problem, while real traffic shows how the model behaves with real data and real load.

If the error rate, latency or business metrics are worse, you stop and send the traffic back. If they are fine, you ramp up.

Offline tests cannot show everything that happens in production.

Remember

Canary: small share first, then ramp up.

Key terms

Practice this question in Repaso