- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getExpMovingAvgBytesPerSecond (0.35 sec)
-
cmd/bucket-replication-metrics.go
func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 { return (1-beta)*incrementAvg + beta*previousAvg } // getExpMovingAvgBytesPerSecond returns the exponential moving average for the bucket/target in bytes func (m *rateMeasurement) getExpMovingAvgBytesPerSecond() float64 { m.lock.Lock() defer m.lock.Unlock() return m.expMovingAvg } // ActiveWorkerStat is stat for active replication workers
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 14.2K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor.go
if !selectBucket(bucketOpts.Name) { continue } m.tlock.RLock() if tgtThrottle, ok := m.bucketsThrottle[bucketOpts]; ok { currBw := bucketMeasurement.getExpMovingAvgBytesPerSecond() report.BucketStats[bucketOpts] = Details{ LimitInBytesPerSecond: tgtThrottle.NodeBandwidthPerSec * int64(m.NodeCount), CurrentBandwidthInBytesPerSecond: currBw, } }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6K bytes - Viewed (0)