Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 331 for fairness (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go

    	"k8s.io/klog/v2"
    	utilsclock "k8s.io/utils/clock"
    )
    
    // PriorityAndFairnessClassification identifies the results of
    // classification for API Priority and Fairness
    type PriorityAndFairnessClassification struct {
    	FlowSchemaName    string
    	FlowSchemaUID     apitypes.UID
    	PriorityLevelName string
    	PriorityLevelUID  apitypes.UID
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go

    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "rejected_requests_total",
    			Help:           "Number of requests rejected by API Priority and Fairness subsystem",
    			StabilityLevel: compbasemetrics.BETA,
    		},
    		[]string{priorityLevel, flowSchema, "reason"},
    	)
    	apiserverDispatchedRequestsTotal = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 19:40:05 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    	klog.Info("Starting API Priority and Fairness config controller")
    	if ok := cache.WaitForCacheSync(stopCh, cfgCtlr.plInformerSynced, cfgCtlr.fsInformerSynced); !ok {
    		return fmt.Errorf("Never achieved initial sync")
    	}
    
    	klog.Info("Running API Priority and Fairness config worker")
    	go wait.Until(cfgCtlr.runWorker, time.Second, stopCh)
    
    	klog.Info("Running API Priority and Fairness periodic rebalancing process")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/features/kube_features.go

    	APIListChunking featuregate.Feature = "APIListChunking"
    
    	// owner: @MikeSpreitzer @yue9944882
    	// alpha: v1.18
    	// beta: v1.20
    	// stable: 1.29
    	//
    	// Enables managing request concurrency with prioritization and fairness at each server.
    	// The FeatureGate was introduced in release 1.15 but the feature
    	// was not really implemented before 1.18.
    	APIPriorityAndFairness featuregate.Feature = "APIPriorityAndFairness"
    
    	// owner: @ilackams
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:36:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/request/webhook_duration.go

    	// Validate webhooks are done in parallel, so max function is used.
    	ValidatingWebhookTracker DurationTracker
    
    	// APFQueueWaitTracker tracks the latency incurred by queue wait times
    	// from priority & fairness.
    	APFQueueWaitTracker DurationTracker
    
    	// StorageTracker tracks the latency incurred inside the storage layer,
    	// it accounts for the time it takes to send data to the underlying
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 22:15:37 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * attempts to {@code take} an element from an empty queue will similarly block.
     *
     * <p>This class supports an optional fairness policy for ordering waiting producer and consumer
     * threads. By default, this ordering is not guaranteed. However, a queue constructed with fairness
     * set to {@code true} grants threads access in FIFO order. Fairness generally decreases throughput
     * but reduces variability and avoids starvation.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * attempts to {@code take} an element from an empty queue will similarly block.
     *
     * <p>This class supports an optional fairness policy for ordering waiting producer and consumer
     * threads. By default, this ordering is not guaranteed. However, a queue constructed with fairness
     * set to {@code true} grants threads access in FIFO order. Fairness generally decreases throughput
     * but reduces variability and avoids starvation.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

      public ReentrantLock newReentrantLock(String lockName) {
        return newReentrantLock(lockName, false);
      }
    
      /**
       * Creates a {@link ReentrantLock} with the given fairness policy. The {@code lockName} is used in
       * the warning or exception output to help identify the locks involved in the detected deadlock.
       */
      public ReentrantLock newReentrantLock(String lockName, boolean fair) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

    		"This and --max-mutating-requests-inflight are summed to determine the server's total concurrency limit "+
    		"(which must be positive) if --enable-priority-and-fairness is true. "+
    		"Otherwise, this flag limits the maximum number of non-mutating requests in flight, "+
    		"or a zero value disables the limit completely.")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:53:51 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

      public ReentrantLock newReentrantLock(String lockName) {
        return newReentrantLock(lockName, false);
      }
    
      /**
       * Creates a {@link ReentrantLock} with the given fairness policy. The {@code lockName} is used in
       * the warning or exception output to help identify the locks involved in the detected deadlock.
       */
      public ReentrantLock newReentrantLock(String lockName, boolean fair) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
Back to top