Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for Worker (0.18 sec)

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

    ```console
    $ gunicorn main:app --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:80
    
    [19499] [INFO] Starting gunicorn 20.1.0
    [19499] [INFO] Listening at: http://0.0.0.0:80 (19499)
    [19499] [INFO] Using worker: uvicorn.workers.UvicornWorker
    [19511] [INFO] Booting worker with pid: 19511
    [19513] [INFO] Booting worker with pid: 19513
    [19514] [INFO] Booting worker with pid: 19514
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  2. docs/zh/docs/deployment/docker.md

    下面一些什么时候这种做法有意义的示例:
    
    
    #### 一个简单的应用程序
    
    如果你的应用程序**足够简单**,你不需要(至少现在不需要)过多地微调进程数量,并且你可以使用自动默认值,那么你可能需要容器中的进程管理器 (使用官方 Docker 镜像),并且你在**单个服务器**而不是集群上运行它。
    
    #### Docker Compose
    
    你可以使用 **Docker Compose** 部署到**单个服务器**(而不是集群),因此你没有一种简单的方法来管理容器的复制(使用 Docker Compose),同时保留共享网络和 **负载均衡**。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 31.2K bytes
    - Viewed (0)
  3. docs/ja/docs/deployment/concepts.md

    !!! tip
        これらの**コンテナ**やDockerそしてKubernetesに関する項目が、まだあまり意味をなしていなくても心配しないでください。
        <!-- NOTE: the current version of docker.md is outdated compared to English one. -->
    
        コンテナ・イメージ、Docker、Kubernetesなどについては、次の章で詳しく説明します: [コンテナ内のFastAPI - Docker](docker.md){.internal-link target=_blank}.
    
    ## 開始前の事前のステップ
    
    アプリケーションを**開始する前**に、いくつかのステップを実行したい場合が多くあります。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  4. docs/tr/docs/project-generation.md

    ### Full Stack FastAPI PostgreSQL - Özellikler
    
    * Full **Docker** entegrasyonu (Docker based).
    * Docker Swarm Mode ile deployment.
    * **Docker Compose** entegrasyonu ve lokal geliştirme için optimizasyon.
    * Uvicorn ve Gunicorn ile **Production ready** Python web server'ı.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:55:41 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. docs/de/docs/deployment/concepts.md

    !!! tip "Tipp"
        Machen Sie sich keine Sorgen, wenn einige dieser Punkte zu **Containern**, Docker oder Kubernetes noch nicht viel Sinn ergeben.
    
        Ich werde Ihnen in einem zukünftigen Kapitel mehr über Container-Images, Docker, Kubernetes, usw. erzählen: [FastAPI in Containern – Docker](docker.md){.internal-link target=_blank}.
    
    ## Schritte vor dem Start
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:16:25 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. docs/en/docs/deployment/docker.md

    In those cases, you can use the **official Docker image** that includes **Gunicorn** as a process manager running multiple **Uvicorn worker processes**, and some default settings to adjust the number of workers based on the current CPU cores automatically. I'll tell you more about it below in [Official Docker Image with Gunicorn - Uvicorn](#official-docker-image-with-gunicorn-uvicorn).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  7. docs/ru/docs/deployment/manually.md

    ```console
    $ pip install "hypercorn[trio]"
    ---> 100%
    ```
    
    </div>
    
    ### Запуск с Trio
    
    Далее запустите Hypercorn с опцией `--worker-class` и аргументом `trio`:
    
    <div class="termy">
    
    ```console
    $ hypercorn main:app --worker-class trio
    ```
    
    </div>
    
    Hypercorn, в свою очередь, запустит ваше приложение использующее Trio.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 16:22:47 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  8. docs/de/docs/deployment/manually.md

    ```console
    $ pip install "hypercorn[trio]"
    ---> 100%
    ```
    
    </div>
    
    ### Mit Trio ausführen
    
    Dann können Sie die Befehlszeilenoption `--worker-class` mit dem Wert `trio` übergeben:
    
    <div class="termy">
    
    ```console
    $ hypercorn main:app --worker-class trio
    ```
    
    </div>
    
    Und das startet Hypercorn mit Ihrer Anwendung und verwendet Trio als Backend.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:16:35 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. docs/zh/docs/deployment/manually.md

    <div class="termy">
    
    ```console
    $ pip install "hypercorn[trio]"
    ---> 100%
    ```
    
    </div>
    
    ### Run with Trio
    
    然后你可以传递值`trio`给命令行选项`--worker-class`:
    
    <div class="termy">
    
    ```console
    $ hypercorn main:app --worker-class trio
    ```
    
    </div>
    
    这将通过您的应用程序启动 Hypercorn,并使用 Trio 作为后端。
    
    现在您可以在应用程序内部使用 Trio。 或者更好的是,您可以使用 AnyIO,使您的代码与 Trio 和 asyncio 兼容。 🎉
    
    ## 部署概念
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 15:39:41 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. docs/zh/docs/project-generation.md

    * **安全密码**,默认使用密码哈希
    * **JWT 令牌**身份验证
    * **SQLAlchemy** 模型(独立于 Flask 扩展,可直接用于 Celery Worker)
    * 基础的用户模型(可按需修改或删除)
    * **Alembic** 迁移
    * **CORS**(跨域资源共享)
    * **Celery** Worker 可从后端其它部分有选择地导入并使用模型和代码
    * REST 后端测试基于 Pytest,并与 Docker 集成,可独立于数据库实现完整的 API 交互测试。因为是在 Docker 中运行,每次都可从头构建新的数据存储(使用 ElasticSearch、MongoDB、CouchDB 等数据库,仅测试 API 运行)
    * Python 与 **Jupyter Kernels** 集成,用于远程或 Docker 容器内部开发,使用 Atom Hydrogen 或 Visual Studio Code 的 Jupyter 插件
    * **Vue** 前端:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jan 28 18:03:58 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top