Crate hedged

source ·
Expand description

This crate provides functionality to perform hedged requests, inspired by the strategies described in “The Tail at Scale”.

Hedged requests help in mitigating latency variability in distributed systems by initiating redundant operations and using the result of the first one to complete.

Features

  • tokio: Enables asynchronous support, including the Hedge::send method for performing hedged requests.

Structs

  • Error type returned by this crate.
  • A Hedge object for managing and performing hedged requests.

Type Aliases

  • Result type for this crate.