Context
Qualify the connection stability by providing the user with the moving standard deviation in the rttMonitor.Stats() method, which will likely the propagated as an operation error during a timeout.
This value should be the average standard deviations of the S_{10} moving average defined here. Which would result in a Nx1 vector of standard deviations, like this.
Here is a working example, you can roughly confirm the hypothesis by adjusting the rang variable which should grow larger by a factor of itself: https://go.dev/play/p/s54Z4BQWPCR
Definition of done
Implement the moving standard deviation for rtt samples.
|