Design the feature layer for a homepage ranker with three freshness needs

designhardNetflix
45:00

You're designing the feature layer for a homepage ranking model at a streaming service. For one member, the model scores a few hundred candidate titles for each row of the page. It needs features at three freshness levels: long-term taste that changes over days, what the member is doing in this session, and context from the request itself.

Design how each kind of feature is computed, stored and served inside the latency budget, and how you make sure the model trains on the same values it's served.

Ask the interviewer

Write your own questions first, then compare.

  • What is the model, and how is it called?

  • What's the latency budget?

  • Which features does the model need?

  • How fresh do the session features have to be?

  • How is the model trained?

  • What exists today?

  • How many members and titles?

Follow-ups

In the room these come after your design, not before. Write your first pass, then open them and answer each one.

Your answer
0 words