Advanced
Software Testing & QA
Q95 / 100
In performance testing, what is the difference between "throughput" and "latency", and why might optimizing for one negatively affect the other?
Correct! Well done.
Incorrect.
The correct answer is A) Throughput measures how many requests a system handles per unit time, while latency measures the time to complete a single request; techniques that increase throughput (e.g. batching) can increase latency for individual requests
A
Correct Answer
Throughput measures how many requests a system handles per unit time, while latency measures the time to complete a single request; techniques that increase throughput (e.g. batching) can increase latency for individual requests
Explanation
A system can be tuned to process many requests efficiently in aggregate (high throughput) at the cost of each individual request taking longer (higher latency), e.g. via request batching or queuing.
Progress
95/100