AI Interview Prep

AI Interview Prep

Machine Learning System Design Interview #7 - The 10-Minute Horizon

Why TikTok-level recommendation systems retrain every few minutes - not nightly.

Hao Hoang's avatar
Hao Hoang
Nov 27, 2025
∙ Paid

You’re in a System Design interview at TikTok. The interviewer sets a trap:

“How often should we retrain the core recommendation model?”

95% of candidates walk right into it.

The Instinct: Most engineers default to the standard MLOps playbook. “We should retrain weekly, or maybe nightly if compute allows. This balances cost with managing concept drift.”

AI Interview Prep is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.

It sounds reasonable. It’s efficient. It’s what you learned in bootcamps. It is also wrong.

The Turn: On high-velocity platforms, “nightly” is an eternity. You are treating User Intent as a static variable. It isn’t.

If a viral trend explodes at 2:00 PM, and your model was trained at 4:00 AM, your system is statistically blind. You aren’t suffering from “Concept Drift” - you are suffering from immediate irrelevance.

The Solution: The best engineers understand the 𝟏𝟎-𝐌𝐢𝐧𝐮𝐭𝐞 𝐇𝐨𝐫𝐢𝐳𝐨𝐧.

User's avatar

Continue reading this post for free, courtesy of Hao Hoang.

Or purchase a paid subscription.
© 2026 Hao Hoang · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture