pub struct Vegas { /* private fields */ }Expand description
TCP Vegas–inspired adaptive concurrency limit strategy.
Estimates queue depth from the ratio of updated RTT to the minimum (no-load) RTT, then adjusts the concurrency limit based on where the estimated queue falls relative to configurable alpha/beta thresholds.
Implementations§
Trait Implementations§
Source§impl Algorithm for Vegas
impl Algorithm for Vegas
Source§fn max_concurrency(&self) -> usize
fn max_concurrency(&self) -> usize
Returns the maximum number of concurrent requests the algorithm currently allows. Read more
Auto Trait Implementations§
impl Freeze for Vegas
impl RefUnwindSafe for Vegas
impl Send for Vegas
impl Sync for Vegas
impl Unpin for Vegas
impl UnsafeUnpin for Vegas
impl UnwindSafe for Vegas
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more