When developers talk about performance, latency and throughput are often mentioned together. But they measure two completely different things.
Latency is how long one operation takes.
If you click a button and the API responds in 100ms, that is latency.
Throughput is how much work a system can handle over time.
If your API processes 10,000 requests per second, that is throughput.






