Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for trackEWMA (0.05 sec)

  1. cmd/bucket-replication-stats.go

    	wTimer          *time.Ticker // ticker for calculating active workers
    	qTimer          *time.Ticker // ticker for calculating queue stats
    }
    
    func (r *ReplicationStats) trackEWMA() {
    	for {
    		select {
    		case <-r.movingAvgTicker.C:
    			r.updateMovingAvg()
    		case <-GlobalContext.Done():
    			return
    		}
    	}
    }
    
    func (r *ReplicationStats) updateMovingAvg() {
    	r.RLock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	stats := NewReplicationStats(ctx, objectAPI)
    	globalReplicationPool.Set(NewReplicationPool(ctx, objectAPI, globalAPIConfig.getReplicationOpts(), stats))
    	globalReplicationStats.Store(stats)
    	go stats.trackEWMA()
    }
    
    type proxyResult struct {
    	Proxy bool
    	Err   error
    }
    
    // get Reader from replication target if active-active replication is in place and
    // this node returns a 404
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top