Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 115 for qps (0.02 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/change_test.go

    	"k8s.io/client-go/dynamic"
    )
    
    func TestChangeCRD(t *testing.T) {
    	tearDown, config, _, err := fixtures.StartDefaultServer(t)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer tearDown()
    	config.QPS = 1000
    	config.Burst = 1000
    	apiExtensionsClient, err := clientset.NewForConfig(config)
    	if err != nil {
    		t.Fatal(err)
    	}
    	dynamicClient, err := dynamic.NewForConfig(config)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:59:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            for (double qps : qpsToTest) {
              // If warmupPermits = maxPermits - thresholdPermits then
              // warmupPeriod = (1 + coldFactor) * warmupPermits * stableInterval / 2
              long warmupMillis = (long) ((1 + coldFactor) * warmupPermits / (2.0 * qps) * 1000.0);
              RateLimiter rateLimiter =
                  RateLimiter.create(qps, warmupMillis, MILLISECONDS, coldFactor, stopwatch);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            for (double qps : qpsToTest) {
              // If warmupPermits = maxPermits - thresholdPermits then
              // warmupPeriod = (1 + coldFactor) * warmupPermits * stableInterval / 2
              long warmupMillis = (long) ((1 + coldFactor) * warmupPermits / (2.0 * qps) * 1000.0);
              RateLimiter rateLimiter =
                  RateLimiter.create(qps, warmupMillis, MILLISECONDS, coldFactor, stopwatch);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  4. pkg/util/async/bounded_frequency_runner.go

    		timer:       timer,
    	}
    	if minInterval == 0 {
    		bfr.limiter = nullLimiter{}
    	} else {
    		// allow burst updates in short succession
    		qps := float32(time.Second) / float32(minInterval)
    		bfr.limiter = flowcontrol.NewTokenBucketRateLimiterWithClock(qps, burstRuns, timer)
    	}
    	return bfr
    }
    
    // Loop handles the periodic timer and run requests.  This is expected to be
    // called as a goroutine.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  5. cmd/kube-scheduler/app/server_test.go

    			},
    			wantClientConnection: &componentbaseconfig.ClientConnectionConfiguration{
    				Kubeconfig:  configKubeconfig,
    				ContentType: "application/vnd.kubernetes.protobuf",
    				QPS:         50,
    				Burst:       100,
    			},
    		},
    		{
    			name: "leader election CLI args, without --config arg",
    			flags: []string{
    				"--leader-elect=false",
    				"--leader-elect-lease-duration=2h",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. pkg/test/echo/proto/echo.proto

      string message = 1;
    }
    
    message EchoResponse {
      string message = 1;
    }
    
    message Header {
      string key = 1;
      string value = 2;
    }
    
    message ForwardEchoRequest {
      int32 count = 1;
      int32 qps = 2;
      int64 timeout_micros = 3;
      string url = 4;
      repeated Header headers = 5;
      string message = 6;
      // Method for the request. Valid only for HTTP
      string method = 9;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 31 17:42:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. cluster/gce/gci/configure-kubeapiserver.sh

          # has an in-memory counter that doesn't notice if you truncate the file.
          # 2000000000 (in MiB) is a large number that fits in 31 bits. If the log
          # grows at 10MiB/s (~30K QPS), it will rotate after ~6 years if apiserver
          # never restarts. Please manually restart apiserver before this time.
          params+=" --audit-log-maxsize=2000000000"
    
          # Batching parameters
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 11:08:30 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. pkg/apis/autoscaling/types.go

    	// with any Kubernetes object. It allows autoscaling based on information
    	// coming from components running outside of cluster
    	// (for example length of queue in cloud messaging service, or
    	// QPS from loadbalancer running outside of cluster).
    	ExternalMetricSourceType MetricSourceType = "External"
    	// ContainerResourceMetricSourceType is a resource metric known to Kubernetes, as
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/autoscaling/v1/types.go

    	// with any Kubernetes object. It allows autoscaling based on information
    	// coming from components running outside of cluster
    	// (for example length of queue in cloud messaging service, or
    	// QPS from loadbalancer running outside of cluster).
    	ExternalMetricSourceType MetricSourceType = "External"
    )
    
    // MetricSpec specifies how to scale based on a single metric
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. schema/naming.go

    }
    
    var (
    	// https://github.com/golang/lint/blob/master/lint.go#L770
    	commonInitialisms         = []string{"API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "LHS", "QPS", "RAM", "RHS", "RPC", "SLA", "SMTP", "SSH", "TLS", "TTL", "UID", "UI", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XSRF", "XSS"}
    	commonInitialismsReplacer *strings.Replacer
    )
    
    func init() {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top