← All drills

Ship a Production Retrieval System

What you'll be able to do

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 internship
Create an account to unlock the 14 sections, the workbench, and askThili.
Begin

Sections

1. Ship a Production Retrieval System
🔒 locked
2. The Offline Number Is a Lie
🔒 locked
3. Five Processes
🔒 locked
4. The Latency Budget
🔒 locked
5. The Feature Store
🔒 locked
6. Train/Serve Skew
🔒 locked
7. The Stale Index
🔒 locked
8. Rules Beside the Network
🔒 locked
9. When the Ranker Does Not Answer
🔒 locked
10. Exclusion at Request Time
🔒 locked
11. Attribution
🔒 locked
12. Fix What Is Cheap
🔒 locked
13. What Breaks Next
🔒 locked
14. Appendix: The thilipipe Harness
🔒 locked

Dig 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