Load Testing · Senior · Question 5 of 76
What are hedged requests?
- 1Splitting one large request into several smaller ones sent in sequence
- 2Sending a second copy of a slow request to another replica, using the first reply
- 3Retrying every request three times with exponential backoff
Show the answer
Correct answer: Sending a second copy of a slow request to another replica, using the first reply
Explanation
After a short delay (e.g. the p95), a duplicate goes to another server. It cuts tail latency at a small cost in extra load, as described in The Tail at Scale.