← All drillsShip a Production Retrieval System
What you'll be able to do- ✓Build a five-service retrieval system — candidate generation, feature store, eligibility rules, ranking and an orchestrator with a latency budget
- ✓Measure the gap between an offline metric and the same metric served through a running system
- ✓Reproduce training/serving skew deliberately, and measure what a drifted id mapping costs in recall
- ✓Detect a stale index that degrades recommendations silently, with no error and no alert
- ✓Measure how often hand-written eligibility rules overrule a learned ranker, and price the rule
- ✓Choose and defend a failure policy for a ranker that exceeds its latency budget
- ✓Attribute every lost point of recall to a named cause, then fix the two that are cheapest
Build the system that surrounds a recommendation model in production — the services, the batch job, and the latency budget — and learn to find the quality loss that lives in the plumbing rather than the model. Assumes you have already built a retrieval engine; do Build a Two-Tower Retrieval Engine first if two-tower models and ANN indexes are new to you.
⌁ Every large recommender runs this shape: a retrieval service, a feature store, eligibility rules and a ranker, deployed on separate cadences. It is also the system whose seams Meta's SilverTorch work sets out to remove.
Start this internshipCreate an account to unlock the 14 sections, the workbench, and askThili.
BeginSections
1. Ship a Production Retrieval System
🔒 locked2. The Offline Number Is a Lie
🔒 locked3. Five Processes
🔒 locked4. The Latency Budget
🔒 locked5. The Feature Store
🔒 locked6. Train/Serve Skew
🔒 locked7. The Stale Index
🔒 locked8. Rules Beside the Network
🔒 locked9. When the Ranker Does Not Answer
🔒 locked10. Exclusion at Request Time
🔒 locked12. Fix What Is Cheap
🔒 locked13. What Breaks Next
🔒 locked14. Appendix: The thilipipe Harness
🔒 lockedDig deeper
📄Hidden Technical Debt in Machine Learning Systems (Sculley et al., 2015, NeurIPS)
paper📄Challenges in Deploying Machine Learning: a Survey of Case Studies (Paleyes, Urma & Lawrence, 2020; ACM Computing Surveys 2022)
paper📄The ML Test Score: A Rubric for ML Production Readiness and Technical Debt Reduction (Breck, Cai, Nielsen, Salib & Sculley, 2017, IEEE Big Data)
paper📄Deep Neural Networks for YouTube Recommendations (Covington, Adams & Sargin, 2016, RecSys)
paper🔗SilverTorch: index as model — Meta's answer to the stitched-together retrieval stack
article🔗thili-ai/thilipipe — the reference implementation you build in this course
code