Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 851 for Rate (0.17 sec)

  1. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * underlying model is a continuous function mapping storedPermits (from 0.0 to maxStoredPermits)
       * onto the 1/rate (i.e. intervals) that is effective at the given storedPermits. "storedPermits"
       * essentially measure unused time; we spend unused time buying/storing permits. Rate is
       * "permits / time", thus "1 / rate = time / permits". Thus, "1/rate" (time / permits) times
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     * <p>Rate limiters are often used to restrict the rate at which some physical or logical resource
     * is accessed. This is in contrast to {@link java.util.concurrent.Semaphore} which restricts the
     * number of concurrent accesses instead of the rate (note though that concurrency and rate are
     * closely related, e.g. see <a href="http://en.wikipedia.org/wiki/Little%27s_law">Little's
     * Law</a>).
     *
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

       * we change the rate.
       */
      public void testWeNeverGetABurstMoreThanOneSec() {
        RateLimiter limiter = RateLimiter.create(1.0, stopwatch);
        int[] rates = {1000, 1, 10, 1000000, 10, 1};
        for (int rate : rates) {
          int oneSecWorthOfWork = rate;
          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

       * we change the rate.
       */
      public void testWeNeverGetABurstMoreThanOneSec() {
        RateLimiter limiter = RateLimiter.create(1.0, stopwatch);
        int[] rates = {1000, 1, 10, 1000000, 10, 1};
        for (int rate : rates) {
          int oneSecWorthOfWork = rate;
          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  5. internal/bucket/bandwidth/monitor.go

    package bandwidth
    
    //go:generate msgp -file=$GOFILE -unexported
    
    import (
    	"context"
    	"sync"
    	"time"
    
    	"golang.org/x/time/rate"
    )
    
    //msgp:ignore bucketThrottle Monitor
    
    type bucketThrottle struct {
    	*rate.Limiter
    	NodeBandwidthPerSec int64
    }
    
    // Monitor holds the state of the global bucket monitor
    type Monitor struct {
    	tlock sync.RWMutex // mutex for bucket throttling
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

      int maximumSize;
    
      @Param("5000")
      int distinctKeys;
    
      @Param("4")
      int segments;
    
      // 1 means uniform likelihood of keys; higher means some keys are more popular
      // tweak this to control hit rate
      @Param("2.5")
      double concentration;
    
      Random random = new Random();
    
      LoadingCache<Integer, Integer> cache;
    
      int max;
    
      static AtomicLong requests = new AtomicLong(0);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/grafana/minio-bucket.json

              "expr": "sum by (bucket) (rate(minio_bucket_traffic_sent_bytes{job=\"$scrape_jobs\"}[$__rate_interval]))",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "Data Sent [{{bucket}}]",
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeRegions": [],
          "title": "Total Data Sent Rate",
          "tooltip": {
            "shared": true,
    Json
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Tue Feb 20 09:45:00 GMT 2024
    - 71.4K bytes
    - Viewed (1)
  8. istioctl/pkg/metrics/metrics.go

    	wname := parts[0]
    	wns := ""
    	if len(parts) > 1 {
    		wns = parts[1]
    	}
    
    	rpsQuery := fmt.Sprintf(`sum(rate(%s{%s=~"%s.*", %s=~"%s.*",reporter="destination"}[%s]))`,
    		reqTot, destWorkloadLabel, wname, destWorkloadNamespaceLabel, wns, duration)
    	errRPSQuery := fmt.Sprintf(`sum(rate(%s{%s=~"%s.*", %s=~"%s.*",reporter="destination",response_code=~"[45][0-9]{2}"}[%s]))`,
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/testdata/ecds/output.txt

    istio.io/telemetry/stats/prometheus/sidecar/Outbound/HTTP     
    istio.io/telemetry/stats/prometheus/sidecar/Outbound/TCP      
    default.display-metadata                                      envoy.extensions.filters.http.wasm.v3.Wasm
    Plain Text
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Sun Dec 24 08:16:26 GMT 2023
    - 528 bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/testdata/ecds/output.json

                    "name": "default.httpbin-rate-limiting",
                    "typedConfig": {
                        "@type": "type.googleapis.com/envoy.extensions.filters.http.wasm.v3.Wasm",
                        "config": {
                            "name": "default.httpbin-rate-limiting",
                            "vmConfig": {
                                "runtime": "envoy.wasm.runtime.v8",
    Json
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Sun Dec 24 08:16:26 GMT 2023
    - 4.2K bytes
    - Viewed (0)
Back to top