Hedged Requests for Reducing Tail Latency in Distributed Systems

Distributed Systems
System Design
Performance Engineering
Software Engineering
How delayed duplicate requests reduce tail latency and what they mean for backend load, cancellation, and idempotency.
Published

November 28, 2026

Tech Blog · 简体中文

In distributed systems, average latency can hide the delays users experience. Tail latency often determines how slow the system feels.

Hedged requests work in three steps.

  1. Send a request to one replica.
  2. If it hasn’t returned after a preset delay, send the same request to another replica.
  3. Use whichever response arrives first, then cancel the remaining request or ignore its response.

Response times across replicas are often imperfectly correlated. A second replica can respond quickly while the first is still working. Sending a duplicate request raises the chance of getting a quick response.

Hedging comes with tradeoffs.

A small amount of redundancy can reduce the chance that a user has to wait for an exceptionally slow response.