File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
cas_client/src/adaptive_concurrency Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,12 @@ impl ConcurrencyControllerState {
4747/// A controller for dynamically adjusting the amount of concurrency on upload and download paths.
4848///
4949/// This controller uses two statistical models that adapt over time using exponentially weighted
50- /// moving averages. The first is a model that predicts the overall current bandwith, and the second is
51- /// a model of how many transfers complete within the predicted time.
50+ /// moving averages. The first is a model that predicts the overall current bandwith, and the second and the second is
51+ /// a model of the deviance between the actual transfer time and the predicted time based on a linear scaling of the
52+ /// concurrency.
5253///
5354/// The key insight is this:
55+ ///
5456/// 1. When a network connection is underutilized, the latency scales sublinearly with the number of parallel
5557/// connections. In other words, adding another transfer does not affect the speed of the other transfers
5658/// significantly.
You can’t perform that action at this time.
0 commit comments