System Design · Senior · Question 46 of 75
What are hedged requests and when are they useful?
- ✓Correct answer: Duplicating a request to another replica when the response is slow
- 2Requests encrypted twice for extra security
- 3Requests sent only outside business hours
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.