Module hedge

Source
Expand description

Pre-emptively retry requests which have been outstanding for longer than a given latency percentile.

Structs§

Future
The Future returned by the Hedge service.
Hedge
A middleware that pre-emptively retries requests which have been outstanding for longer than a given latency percentile. If either of the original future or the retry future completes, that value is used.

Traits§

Policy
A policy which describes which requests can be cloned and then whether those requests should be retried.