May we use cookies so Meta, Google, LinkedIn and ChatGPT see your visit and we learn which ads work? PrivacyMay we use cookies to see which pages help, and let Meta, Google, LinkedIn and ChatGPT see your visit, so we know which of our ads work? That way we spend less on ads that do not work. We do not sell your data, and the site works the same if you decline. You can change your answer at any time under Cookie settings at the foot of the page. Privacy policy
Loading...
2 system design questions lean on this idea. Each walks through the full answer.
AI Engineering · Data Engineering For Ml
Free preview: the first part of this 29-part lesson.
Already bought the course? Sign in to read the whole lesson.
this lesson is part of
Generative AI and Agentic AI Engineering
Unlock this lesson and the 208 other paid lessons
$35 once, by card or PayPal
See the Generative AI and Agentic AI courseread the rest of this lesson in
Generative AI and Agentic AI Engineering
Unlock this lesson and the 208 other paid lessons
$35 once, by card or PayPal
See the Generative AI and Agentic AI coursein Data Engineering For Ml
This lesson is part of the AI Engineering course. Unlock the full course, a separate one-time payment, for lifetime access.
One-time payment by card or PayPal
Get Lifetime AccessOne-time payment: UPI, card or netbanking
Get Lifetime AccessFoundation lessons of this course are free, no payment needed. Try them now
A shop owner adds up his March sales on the first of April. The total goes into a report, and the report goes to the bank. In June, he adds up March again, from the same sales records. He gets a smaller number.
Neither total is wrong. In April and May, customers sent things back. Each time, the shop wrote the return against the sale it undid, and some of those sales were made in March. So March changed, weeks after it had ended.

Now put a model in the owner's place. In April it learned from the March sales. In June someone asks what it learned from. If the only records left are the ones that were kept up to date, the answer is March as it looks in June. The model never saw that March. Only a copy made in April can answer the question.
Keeping those copies is what this lesson is about, and keeping them cheaply enough that you really do it. I measured it on a real shop's sales: 1,047,877 sale lines over two years, changed 16,675 times by real returns. I kept 110 versions of that table in four different ways, and counted every byte.