Interview practice question
Prediction API too slow
Machine Learning · MLOps · Beginner
Your model's prediction API takes 800 milliseconds, but the product needs under 100. What do you look at?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Profile: feature retrieval vs model inference vs overhead.
- Precompute or cache features.
- Optimize model (smaller, quantized, ONNX).
- Right hardware; keep model loaded.
- Batch or parallelize lookups.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.