Reduce per-request latency from ~250ms to under 100ms through batching, caching, and query optimization.
Your team's inference API is too slow for production. Profiling shows three bottlenecks: each request runs model inference individually (no batching), repeated identical inputs aren't cached, and the preprocessing step makes one database call per feature instead of batching them. Fix all three to hit the latency target.
Ask me about the code, bugs, or concepts.
I'll guide you in plain English, no code output.
Budget: 50K tokens per lab