Module tower::hedge

source · []
Available on crate feature hedge only.
Expand description

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

Structs

The Future returned by the Hedge service.

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

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