Documentation ¶
Overview ¶
Copyright (c) 2014 CloudFlare, Inc.
Tickless implementation of exponentially decaying moving average ¶
Most of EWMA implementations update values every X seconds. This is suboptimal. Instead of having a ticker goroutine it is possible to adjust the weight accordingly and have a moving average updated on the fly.
Everyone is familiar with EWMA - it's wide used as the load average smoothing algorithm.
Click to show internal directories.
Click to hide internal directories.