Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for workerCh (0.99 sec)

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

    Insbesondere wenn die Anwendung auf **Kubernetes** läuft, werden Sie wahrscheinlich **keine** Worker verwenden wollen, und stattdessen **einen einzelnen Uvicorn-Prozess pro Container** ausführen wollen, aber ich werde Ihnen später in diesem Kapitel mehr darüber erzählen.
    
    ///
    
    ## Mehrere Worker { #multiple-workers }
    
    Sie können mehrere Worker mit der `--workers`-Befehlszeilenoption starten:
    
    //// tab | `fastapi`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:32:56 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. docs/zh/docs/deployment/server-workers.md

    ```
    
    </div>
    
    ////
    
    这里唯一的新选项是 `--workers` 告诉 Uvicorn 启动 4 个工作进程。
    
    您还可以看到它显示了每个进程的 **PID**,父进程(这是**进程管理器**)的 PID 为`27365`,每个工作进程的 PID 为:`27368`、`27369`, `27370`和`27367`。
    
    ## 部署概念
    
    在这里,您学习了如何使用多个**工作进程(workers)**来让应用程序的执行**并行化**,充分利用 CPU 的**多核性能**,并能够处理**更多的请求**。
    
    从上面的部署概念列表来看,使用worker主要有助于**复制**部分,并对**重新启动**有一点帮助,但您仍然需要照顾其他部分:
    
    * **安全 - HTTPS**
    * **启动时运行**
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Mar 31 08:13:15 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. docs/fr/docs/project-generation.md

    * Modèles **SQLAlchemy** (indépendants des extensions Flask, afin qu'ils puissent être utilisés directement avec des *workers* Celery).
    * Modèle de démarrages basiques pour les utilisateurs (à modifier et supprimer au besoin).
    * Migrations **Alembic**.
    * **CORS** (partage des ressources entre origines multiples, ou *Cross Origin Resource Sharing*).
    * *Worker* **Celery** pouvant importer et utiliser les modèles et le code du reste du backend.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. internal/s3select/csv/reader.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
    - 8.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top