Interview practice question
Recommendation latency too high
Machine Learning · Recommender Systems · Intermediate
Your recommendation API's p99 latency is 600 milliseconds, causing slow page loads. How do you reduce it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Profile stages: retrieval, feature fetch, ranking, re-ranking.
- Parallelize candidate sources and feature lookups.
- Reduce candidates for heavy ranker; cascade with light pre-ranker.
- Model optimization (distillation, quantization, GPU batching).
- Caching and timeouts with fallbacks.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.