If someone reports your API 'feels slow,' why is the average response time often a misleading number, and what would you look at instead?

technical-conceptual · Junior level · software-engineering

What the interviewer is really asking

Assesses whether the candidate understands that averages hide tail latency and can reach for percentiles (p95/p99) as the metric that reflects what slow users actually experience — a step beyond knowing 'measure latency.'

What to say

What to avoid

Example answers

Strong: The average is misleading because it can be dragged down by lots of fast responses and hide a slow tail — if most requests are 50ms but 5% take two seconds, the mean still looks okay while a real chunk of users are suffering. So I'd look at percentiles: p50 for the typical request, and p95/p99 for the tail — p99 is the latency 99% of requests come in under, so it tells you what your slowest users actually experience. Watching the whole distribution shows whether the app is genuinely fast or just fast on average. The tail matters because at scale 1% is a lot of people, and across multiple services each hop's slow tail adds up, so one slow dependency drags the whole request. I'd also keep latency and throughput separate — 'feels slow' is a latency question.

Weak: I'd check the average response time, and if it's high I'd add more servers so requests get handled faster. As long as the average is low the API isn't really slow, so the report is probably just one user's connection.

Want questions matched to your role? Paste a job title, job description, or CV and get a personalized set, or go Pro to unlock the full bank.