Load Testing · Middle · Question 66 of 76

How do you test a cache stampede scenario?

Show the answer

Correct answer: Expire a hot key and send many requests for it at once

Explanation

When a popular key expires, many requests may hit the DB at once. The test checks whether locking, request coalescing or stale-while-revalidate protect the DB.

Further reading

Problem with a question

Load Testing · Middle · question 66

Test yourself

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

Take this quiz