Back to ML Engineer Mind Map
中文·English
💻 ML EngineerID: mle-recsys-end-to-end-pipeline

End-to-End RecSys Pipeline & SLA

亿级推荐系统端到端链路与 SLA
🎯Core Definition
The End-to-End Large-Scale Recommendation Pipeline & SLA Allocation framework structures modern recommendation platforms serving hundreds of millions of DAUs across 10M+ items within a strict 50ms latency budget; the 4-tier funnel encompasses: 1) Multi-Channel Retrieval (10ms budget, filtering 10710^7 items down to 10410^4 candidates via DSSM Two-Tower ANN, ItemCF, and real-time graph walkers); 2) Pre-Ranking (5ms budget, lightweight small DNNs trimming to 10310^3); 3) Heavy Ranking (30ms budget, deep multi-task networks DCN-v2/MMoE/PLE scoring CTR/CVR for Top 100); 4) Re-Ranking (5ms budget, DPP diversity and business fatigue rules yielding Top 10).
💡Use Cases
E-commerce landing pages (Amazon/Taobao), short-video feeds (TikTok), and social discovery feeds (Xiaohongshu).
Key Problems Solved
Heavy multi-task models cannot forward-pass millions of items without SLA timeouts; cascading funnels maximize engagement under strict millisecond latency budgets.
🎯5 High-Frequency Exam Points
1
Diagram the 4-stage recommendation funnel and break down candidate sizes (10710410310210110^7 \to 10^4 \to 10^3 \to 10^2 \to 10^1) and latency budgets?
2
Explain why online DSSM inference only executes the User Tower while the Item Tower is fully pre-computed offline into ANN vector indices?
3
How do multi-task models (MMoE/PLE) jointly optimize CTR, CVR, and dwell time into a unified ranking score in production?
4
How does Determinantal Point Processes (DPP) mathematically balance candidate relevance quality against category diversity in re-ranking?
5
Design dynamic candidate pruning and circuit-breaking fallback strategies when heavy rankers face traffic spikes?
Updated 2026-08-14
🎯
Test Your Knowledge: Practice Questions for "End-to-End RecSys Pipeline & SLA"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous Card5-Step ML System Design FrameworkNext CardFeature Store Consistency & No-Leak

🔗 More ML Engineer Knowledge Cards

Bias-Variance Tradeoff & OverfittingLoss Function Taxonomy & GradientsOptimizer Convergence & MomentumEnsemble Stacking & Blending