Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/site-replication-metrics.go

    	}
    }
    
    func newSRStats() *SRStats {
    	s := SRStats{
    		M:               make(map[string]*SRStatus),
    		movingAvgTicker: time.NewTicker(time.Second * 2),
    	}
    	go s.trackEWMA()
    	return &s
    }
    
    func (sr *SRStats) trackEWMA() {
    	for {
    		select {
    		case <-sr.movingAvgTicker.C:
    			sr.updateMovingAvg()
    		case <-GlobalContext.Done():
    			return
    		}
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
Back to top