Struct scylla::transport::speculative_execution::PercentileSpeculativeExecutionPolicy [−][src]
pub struct PercentileSpeculativeExecutionPolicy {
pub max_retry_count: usize,
pub percentile: f64,
}
Expand description
A policy that triggers speculative executions when the request to the current host is above a given percentile.
Fields
max_retry_count: usize
The maximum number of speculative executions that will be triggered for a given request (does not include the initial request)
percentile: f64
The percentile that a request’s latency must fall into to be considered slow (ex: 99.0)
Trait Implementations
The maximum number of speculative executions that will be triggered for a given request (does not include the initial request) Read more
The delay between each speculative execution
Auto Trait Implementations
impl Send for PercentileSpeculativeExecutionPolicy
impl Sync for PercentileSpeculativeExecutionPolicy
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more