Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for nWorkers (0.04 sec)

  1. docs/es/docs/deployment/server-workers.md

    En particular, cuando corras en **Kubernetes** probablemente **no** querrás usar workers y en cambio correr **un solo proceso de Uvicorn por contenedor**, pero te contaré sobre eso más adelante en ese capítulo.
    
    ///
    
    ## Múltiples Workers { #multiple-workers }
    
    Puedes iniciar múltiples workers con la opción de línea de comando `--workers`:
    
    //// tab | `fastapi`
    
    Si usas el comando `fastapi`:
    
    <div class="termy">
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. docs/de/docs/deployment/server-workers.md

    ///
    
    ## Mehrere Worker { #multiple-workers }
    
    Sie können mehrere Worker mit der `--workers`-Befehlszeilenoption starten:
    
    //// tab | `fastapi`
    
    Wenn Sie den `fastapi`-Befehl verwenden:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run --workers 4 <u style="text-decoration-style:solid">main.py</u>
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:32:56 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. docs/zh/docs/deployment/server-workers.md

    比较特别的是,在 **Kubernetes** 环境中运行时,您通常**不需要**使用多个工作进程,而是**每个容器运行一个 Uvicorn 进程**。不过,我会在本章节的后续部分详细介绍这一点。
    
    ///
    
    ## 多个工作进程
    
    您可以使用 `--workers` 命令行选项来启动多个工作进程:
    
    //// tab | `fastapi`
    
    如果您使用 `fastapi` 命令:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run --workers 4 <u style="text-decoration-style:solid">main.py</u>
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Mar 31 08:13:15 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. docs/pt/docs/deployment/server-workers.md

    ///
    
    ## Vários trabalhadores { #multiple-workers }
    
    Você pode iniciar vários trabalhadores com a opção de linha de comando `--workers`:
    
    //// tab | `fastapi`
    
    Se você usar o comando `fastapi`:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run --workers 4 <u style="text-decoration-style:solid">main.py</u>
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/server-workers.md

    In particular, when running on **Kubernetes** you will probably **not** want to use workers and instead run **a single Uvicorn process per container**, but I'll tell you about it later in that chapter.
    
    ///
    
    ## Multiple Workers { #multiple-workers }
    
    You can start multiple workers with the `--workers` command line option:
    
    //// tab | `fastapi`
    
    If you use the `fastapi` command:
    
    <div class="termy">
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. cmd/background-heal-ops.go

    }
    
    func newHealRoutine() *healRoutine {
    	workers := runtime.GOMAXPROCS(0) / 2
    
    	if envHealWorkers := env.Get("_MINIO_HEAL_WORKERS", ""); envHealWorkers != "" {
    		if numHealers, err := strconv.Atoi(envHealWorkers); err != nil {
    			bugLogIf(context.Background(), fmt.Errorf("invalid _MINIO_HEAL_WORKERS value: %w", err))
    		} else {
    			workers = numHealers
    		}
    	}
    
    	if workers == 0 {
    		workers = 4
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. internal/config/ilm/help.go

    	transitionWorkers = "transition_workers"
    	expirationWorkers = "expiration_workers"
    	// EnvILMTransitionWorkers env variable to configure number of transition workers
    	EnvILMTransitionWorkers = "MINIO_ILM_TRANSITION_WORKERS"
    	// EnvILMExpirationWorkers env variable to configure number of expiration workers
    	EnvILMExpirationWorkers = "MINIO_ILM_EXPIRATION_WORKERS"
    )
    
    var (
    	defaultHelpPostfix = func(key string) string {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu May 30 08:14:58 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. cmd/metrics-v3-replication.go

    	replicationRecentBacklogCount      = "recent_backlog_count"
    )
    
    var (
    	replicationAverageActiveWorkersMD = NewGaugeMD(replicationAverageActiveWorkers,
    		"Average number of active replication workers")
    	replicationAverageQueuedBytesMD = NewGaugeMD(replicationAverageQueuedBytes,
    		"Average number of bytes queued for replication since server start")
    	replicationAverageQueuedCountMD = NewGaugeMD(replicationAverageQueuedCount,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. internal/config/errors.go

    		"Invalid value for replication workers",
    		"",
    		"MINIO_API_REPLICATION_WORKERS: should be > 0",
    	)
    
    	ErrInvalidTransitionWorkersValue = newErrFn(
    		"Invalid value for transition workers",
    		"",
    		"MINIO_API_TRANSITION_WORKERS: should be >= GOMAXPROCS/2",
    	)
    	ErrInvalidBatchKeyRotationWorkersWait = newErrFn(
    		"Invalid value for batch key rotation workers wait",
    		"Please input a non-negative duration",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. internal/s3select/json/preader.go

    	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  bpool.Pool[[]byte]        // pool of []byte objects for input
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top