Load Testing · Senior · Question 43 of 76

Latency jumps for orders of one popular product only. What is a likely cause?

Show the answer

Correct answer: Lock contention or a hot partition on that single row or key

Explanation

All updates to one inventory row serialize. Per-key metrics or DB lock waits reveal it; the fix may be sharding counters or a different design.

Further reading

Problem with a question

Load Testing · Senior · question 43

Test yourself

Take the Load Testing · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz