As asked
Design a recommendation system that generates a personalized homepage for each of Netflix's 200 million subscribers. The page must load in under 200 milliseconds. Walk me through the offline training pipeline, the online serving layer, and how you handle cold-start for a new subscriber.
Sample answer outline
A strong answer separates the offline batch pipeline (collaborative filtering or two-tower neural models trained on viewing history) from the online serving layer (pre-computed embeddings cached in Redis, real-time context like time of day and device blended at request time). The candidate should cover feature stores, the ranking layer that merges multiple candidate generators, A/B experimentation on ranking, and a cold-start strategy using popularity signals and onboarding questions.
Expect these follow-ups
- How do you handle the explore-exploit tradeoff so you don't just keep recommending what someone already watched?
- A new title launches. How does it get recommended before it has viewing history?