Interview practice question
High p99 latency with fan-out
Backend Engineering · Microservices · Experienced
Your aggregation service calls 20 backend shards in parallel, and its p99 latency is much higher than any single shard's p99. Why, and what can you do?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Waiting for slowest of N → tail dominates.
- P(all fast) shrinks with N.
- Hedged requests.
- Reduce fan-out, return partial results.
- Fix shard tail causes (GC, hot keys).
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.