Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for concurrent (0.19 sec)

  1. internal/event/targetlist.go

    	CurrentSendCalls int64 // CurrentSendCalls is the number of concurrent async Send calls to all targets
    	CurrentQueue     int   // Populated if target has a store.
    	TotalEvents      int64
    	FailedEvents     int64 // Number of failed events per target
    }
    
    // TargetList - holds list of targets indexed by target ID.
    type TargetList struct {
    	// The number of concurrent async Send calls to all targets
    	currentSendCalls  atomic.Int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  2. cmd/metrics-v3-cluster-notification.go

    	notificationEventsSentTotal       = "events_sent_total"
    	notificationEventsSkippedTotal    = "events_skipped_total"
    )
    
    var (
    	notificationCurrentSendInProgressMD = NewCounterMD(notificationCurrentSendInProgress, "Number of concurrent async Send calls active to all targets")
    	notificationEventsErrorsTotalMD     = NewCounterMD(notificationEventsErrorsTotal, "Events that were failed to be sent to the targets")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:10:35 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    	}
    
    	concurrent, err := strconv.Atoi(concurrentStr)
    	if err != nil {
    		concurrent = 32
    	}
    
    	duration, err := time.ParseDuration(durationStr)
    	if err != nil {
    		duration = time.Second * 10
    	}
    
    	done := keepHTTPResponseAlive(w)
    
    	result, err := selfSpeedTest(r.Context(), speedTestOpts{
    		objectSize:   size,
    		concurrency:  concurrent,
    		duration:     duration,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  4. internal/config/api/help.go

    	}
    
    	// Help holds configuration keys and their default values for api subsystem.
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         apiRequestsMax,
    			Description: `set the maximum number of concurrent requests` + defaultHelpPostfix(apiRequestsMax),
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         apiRequestsDeadline,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 15 01:07:19 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    	// Fetch location of up to 10 objects concurrently.
    	poolObjIdxMap := map[int][]ObjectToDelete{}
    	origIndexMap := map[int][]int{}
    
    	// Always perform 1/10th of the number of objects per delete
    	concurrent := len(objects) / 10
    	if concurrent <= 10 {
    		// if we cannot get 1/10th then choose the number of
    		// objects as concurrent.
    		concurrent = len(objects)
    	}
    
    	var mu sync.Mutex
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. cmd/metrics-v2.go

    			metrics = append(metrics, MetricV2{
    				Description: MetricDescription{
    					Namespace: minioNamespace,
    					Subsystem: notifySubsystem,
    					Name:      "current_send_in_progress",
    					Help:      "Number of concurrent async Send calls active to all targets (deprecated, please use 'minio_notify_target_current_send_in_progress' instead)",
    					Type:      gaugeMetric,
    				},
    				Value: float64(nstats.CurrentSendCalls),
    			})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    	diskInfoCache *cachevalue.Cache[DiskInfo]
    	sync.RWMutex
    	formatData []byte
    
    	nrRequests   uint64
    	major, minor uint32
    	fsType       string
    
    	immediatePurge chan string
    
    	// mutex to prevent concurrent read operations overloading walks.
    	rotational bool
    	walkMu     *sync.Mutex
    	walkReadMu *sync.Mutex
    }
    
    // checkPathLength - returns error if given path name length more than 255
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/erasure-metadata.go

    	return findFileInfoInQuorum(ctx, metaArr, modTime, etag, quorum)
    }
    
    // writeUniqueFileInfo - writes unique `xl.meta` content for each disk concurrently.
    func writeUniqueFileInfo(ctx context.Context, disks []StorageAPI, origbucket, bucket, prefix string, files []FileInfo, quorum int) ([]StorageAPI, error) {
    	g := errgroup.WithNErrs(len(disks))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  9. cmd/peer-rest-client.go

    	values := make(url.Values)
    	values.Set(peerRESTSize, strconv.Itoa(opts.objectSize))
    	values.Set(peerRESTConcurrent, strconv.Itoa(opts.concurrency))
    	values.Set(peerRESTDuration, opts.duration.String())
    	values.Set(peerRESTStorageClass, opts.storageClass)
    	values.Set(peerRESTBucket, opts.bucketName)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  10. cmd/admin-heal-ops.go

    	// The time of the last scan/heal activity
    	lastHealActivity time.Time
    
    	// Holds the request-info for logging
    	ctx context.Context
    
    	// used to lock this structure as it is concurrently accessed
    	mutex sync.RWMutex
    }
    
    // NewHealSequence - creates healSettings, assumes bucket and
    // objPrefix are already validated.
    func newHealSequence(ctx context.Context, bucket, objPrefix, clientAddr string,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
Back to top