Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 218 for Workers (0.1 sec)

  1. internal/config/api/api.go

    	if err != nil {
    		return cfg, err
    	}
    	if replicationMaxWorkers <= 0 || replicationMaxWorkers > 500 {
    		return cfg, config.ErrInvalidReplicationWorkersValue(nil).Msg("Number of replication workers should be between 1 and 500")
    	}
    	cfg.ReplicationMaxWorkers = replicationMaxWorkers
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. docs/zh/docs/deployment/concepts.md

    可以通过多种方法来实现这一目标,我将在接下来的章节中向您详细介绍具体策略,例如在谈论 Docker 和容器时。
    
    要考虑的主要限制是必须有一个**单个**组件来处理**公共IP**中的**端口**。 然后它必须有一种方法将通信**传输**到复制的**进程/worker**。
    
    以下是一些可能的组合和策略:
    
    * **Gunicorn** 管理 **Uvicorn workers**
         * Gunicorn 将是监听 **IP** 和 **端口** 的 **进程管理器**,复制将通过 **多个 Uvicorn 工作进程** 进行
    * **Uvicorn** 管理 **Uvicorn workers**
         * 一个 Uvicorn **进程管理器** 将监听 **IP** 和 **端口**,并且它将启动 **多个 Uvicorn 工作进程**
    * **Kubernetes** 和其他分布式 **容器系统**
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

    TF_CAPI_EXPORT extern TFE_ContextDevicePlacementPolicy
    TFE_ContextGetDevicePlacementPolicy(TFE_Context* ctx);
    
    // A tensorflow.ServerDef specifies remote workers (in addition to the current
    // workers name). Operations created in this context can then be executed on
    // any of these remote workers by setting an appropriate device.
    //
    // If the following is set, all servers identified by the
    // ServerDef must be up when the context is created.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  4. internal/s3select/csv/reader.go

    	current      [][]string       // current block of results to be returned
    	recordsRead  int              // number of records read in current slice
    	input        chan *queueItem  // input for workers
    	queue        chan *queueItem  // output from workers in order
    	err          error            // global error state, only touched by Reader.Read
    	bufferPool   sync.Pool        // pool of []byte objects for input
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance.go

    	if err != nil {
    		rebalanceLogIf(ctx, fmt.Errorf("invalid workers value err: %v, defaulting to %d", err, len(pool.sets)))
    		workerSize = len(pool.sets)
    	}
    
    	// Each decom worker needs one List() goroutine/worker
    	// add that many extra workers.
    	workerSize += len(pool.sets)
    
    	wk, err := workers.New(workerSize)
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    	oi, ok := oiCache[fmt.Sprintf("%s-%s", toDel.ObjectName, toDel.VersionID)]
    	return oi, ok
    }
    
    func batchObjsForDelete(ctx context.Context, r *BatchJobExpire, ri *batchJobInfo, job BatchJobRequest, api ObjectLayer, wk *workers.Workers, expireCh <-chan []expireObjInfo) {
    	vc, _ := globalBucketVersioningSys.Get(r.Bucket)
    	retryAttempts := job.Expire.Retry.Attempts
    	if retryAttempts <= 0 {
    		retryAttempts = batchExpireJobDefaultRetries
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

    import org.gradle.api.tasks.Nested;
    import org.gradle.api.tasks.Optional;
    import org.gradle.api.tasks.OutputFile;
    import org.gradle.api.tasks.TaskAction;
    import org.gradle.util.GradleVersion;
    import org.gradle.workers.WorkQueue;
    import org.gradle.workers.WorkerExecutor;
    
    import javax.inject.Inject;
    import java.io.File;
    import java.net.URISyntaxException;
    import java.security.CodeSource;
    import java.security.ProtectionDomain;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/common/extensions.kt

        listOf(
            // We pass the 'maxParallelForks' setting as 'workers.max' to limit the maximum number of executers even
            // if multiple test tasks run in parallel. We also pass it to the Gradle build as a maximum (maxParallelForks)
            // for each test task, such that we are independent of whatever default value is defined in the build itself.
            "-Dorg.gradle.workers.max=$maxParallelForks",
            "-PmaxParallelForks=$maxParallelForks",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

            val expectedInstallationPaths = if (os == Os.WINDOWS) windowsPaths else linuxPaths
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom.go

    	if err != nil {
    		decomLogIf(ctx, fmt.Errorf("invalid workers value err: %v, defaulting to %d", err, len(pool.sets)))
    		workerSize = len(pool.sets)
    	}
    
    	// Each decom worker needs one List() goroutine/worker
    	// add that many extra workers.
    	workerSize += len(pool.sets)
    
    	wk, err := workers.New(workerSize)
    	if err != nil {
    		return err
    	}
    
    	var vc *versioning.Versioning
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top