internalsGet Pro

Module 16 · Lesson 15 of 15Pro

Design: product recommendations like Amazon

Level
Advanced
Topic
Recommendation and ranking systems
Reading time
28 min

When you finish this page you can

  1. Assemble candidate sources, a ranking model and re-ranking into one request path that answers 30,000 requests a second within 100 ms, with a fallback at every step.
  2. Design the logs that let the row learn from itself: every shown tile with its versions, slot and probability, and the exact feature rows that were scored.
  3. Plan the daily cycle from retraining to rollout, and say which changes need a live test and which only need a gate.
  4. Say what fails at each step, what the customer sees when it does, and how the design changes at 10× and 100×.
  1. Serving patterns: batch, online and streaming14 min
  2. Candidate generation and ranking: the two-stage design17 min
  3. Evaluating recommenders offline and online17 min
  4. Multi-objective ranking: clicks, purchases and more17 min

Video lesson · coming soon

Twenty tiles, 30,000 times a second

is our example online store. Every day, 5 million customers shop there, choosing from 20 million products, and they place about 500,000 orders. The home page opens with a “Picked for you” row of 20 tiles. The prediction in this lesson is which 20 products go in that row, and in what order.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan