← All interview questions

Skill Zuno · skillzunos.com · System Design

Latency and Throughput interview questions

Prepare for Latency and Throughput interviews on Skill Zuno. This practice book covers Latency and Throughput interview questions across New, Easy, Medium, Hard, and Diff levels so you can work through real interview-style problems on skillzunos.com.

Open Latency and Throughput on Skill Zuno

Also see the Latency and Throughput tutorial.

Latency is how long one operation takes; throughput is how many operations a system completes per unit of time. Both shape user experience and capacity, and improving one can hurt the other. Interviews cover typical latency numbers, percentiles such as p99, Little's law, and techniques such as batching, caching and parallelism.

Sample Latency and Throughput interview questions

Why measure p99 latency instead of the average?

The average hides slow requests. If a page makes 100 backend calls, almost every page load hits at least one p99 call, so the tail decides what users actually experience.

What is Little's law?

The average number of requests in a system equals throughput times average latency (L = λW). At 1,000 requests per second and 200 ms latency, about 200 requests are in flight at once.

How does batching affect latency and throughput?

Batching amortises fixed costs such as network round trips and disk syncs, so throughput rises. Individual items may wait for a batch to fill, so their latency can increase.

Roughly how long is a round trip across the Atlantic?

About 70 to 100 milliseconds, compared with about 0.5 milliseconds within a data centre. This is why geo-distributed designs avoid synchronous cross-region calls.

Why does latency rise sharply at high utilisation?

Queueing theory shows waiting time grows roughly as utilisation / (1 − utilisation). At 90 percent busy, requests queue far longer than at 50 percent, so systems keep headroom.

What you can practice

  • Latency and Throughput interview questions for beginners and experienced developers
  • Level-based practice: New, Easy, Medium, Hard, and Diff
  • System Design topics alongside Latency and Throughput on skillzunos.com

More System Design interview questions

All interview questions