Load Testing · Middle · Question 75 of 76
Why is a test that only hits GET /products a weak capacity test for a shop?
- 1Load tools only measure POST requests correctly
- 2Writes, checkout and search compete for the same resources
- 3GET requests can never be cached by any server or CDN
Show the answer
Correct answer: Writes, checkout and search compete for the same resources
Explanation
A realistic workload model mixes reads and writes in production proportions. Writes take locks and use the DB differently, which changes the bottleneck.