Lesson 14 of 17
5. Latency vs Throughput

Interview questions

7 min read+10 XP

Interview questions (with the counter-questions you'll get)

Q1. What's the difference between latency and throughput?

They're testing: clean definitions and how they relate.

Think about your answer first, then open it.

reveal

Q2. Why use percentiles instead of the average?

They're testing: whether you've debugged real latency.

Think about your answer first, then open it.

reveal

Q3. What is tail latency, and how do you reduce it?

They're testing: depth on a known hard problem.

Think about your answer first, then open it.

reveal

Q4. State Little's law and use it.

They're testing: a practical formula under pressure.

Think about your answer first, then open it.

reveal

Q5. Why does latency shoot up when a server gets busy?

They're testing: queueing intuition.

Think about your answer first, then open it.

reveal

Q6. Your API's p99 jumped from 200 ms to 2 seconds, but p50 didn't change. What do you look at?

They're testing: debugging the tail.

Think about your answer first, then open it.

reveal

Q7. How would you reduce the latency of a page that calls five services one after another?

They're testing: practical optimisation thinking.

Think about your answer first, then open it.

reveal

Q8. How would you increase the throughput of a service?

They're testing: bottleneck thinking.

Think about your answer first, then open it.

reveal

Q9. What's the difference between bandwidth and throughput, and between bandwidth and latency?

They're testing: precise vocabulary.

Think about your answer first, then open it.

reveal

Q10. Give an example where improving throughput hurts latency.

They're testing: trade-off awareness.

Think about your answer first, then open it.

reveal