System Design · Senior · Question 46 of 75

What are hedged requests and when are they useful?

Explanation

If a response takes longer than usual, a copy is sent to another server and the first response wins. This lowers p99 at the cost of a small load increase. Suitable only for idempotent reads.

Further reading

Problem with a question

System Design · Senior · question 46

Test yourself

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

Take this quiz