Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cpus (0.15 sec)

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

    ## Recap
    
    You can use **Gunicorn** (or also Uvicorn) as a process manager with Uvicorn workers to take advantage of **multi-core CPUs**, to run **multiple processes in parallel**.
    
    You could use these tools and ideas if you are setting up **your own deployment system** while taking care of the other deployment concepts yourself.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. docs/fr/docs/deployment/docker.md

    ```
    
    </div>
    
    Vous disposez maintenant d'un serveur FastAPI optimisé dans un conteneur Docker. Configuré automatiquement pour votre
    serveur actuel (et le nombre de cœurs du CPU).
    
    ## Vérifier
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  3. docs/zh/docs/deployment/server-workers.md

    您还可以看到它显示了每个进程的 **PID**,父进程(这是 **进程管理器**)的 PID 为`27365`,每个工作进程的 PID 为:`27368`、`27369`, `27370`和`27367`。
    
    ## 部署概念
    
    在这里,您了解了如何使用 **Gunicorn**(或 Uvicorn)管理 **Uvicorn 工作进程**来**并行**应用程序的执行,利用 CPU 中的 **多核**,并 能够满足**更多请求**。
    
    从上面的部署概念列表来看,使用worker主要有助于**复制**部分,并对**重新启动**有一点帮助,但您仍然需要照顾其他部分:
    
    * **安全 - HTTPS**
    * **启动时运行**
    * ***重新启动***
    * 复制(运行的进程数)
    * **内存**
    * **启动之前的先前步骤**
    
    ## 容器和 Docker
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top