Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 217 for Uvicorn (0.07 sec)

  1. docs/zh/docs/deployment/concepts.md

    以下是一些可能的组合和策略:
    
    * **Gunicorn** 管理 **Uvicorn workers**
         * Gunicorn 将是监听 **IP** 和 **端口** 的 **进程管理器**,复制将通过 **多个 Uvicorn 工作进程** 进行
    * **Uvicorn** 管理 **Uvicorn workers**
         * 一个 Uvicorn **进程管理器** 将监听 **IP** 和 **端口**,并且它将启动 **多个 Uvicorn 工作进程**
    * **Kubernetes** 和其他分布式 **容器系统**
         * **Kubernetes** 层中的某些东西将侦听 **IP** 和 **端口**。 复制将通过拥有**多个容器**,每个容器运行**一个 Uvicorn 进程**
    * **云服务** 为您处理此问题
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. docs/pt/docs/deployment/concepts.md

    * **Uvicorn** com `--workers`
        * Um **gerenciador de processos** Uvicorn escutaria no **IP** e na **porta** e iniciaria **vários processos de trabalho Uvicorn**.
    * **Kubernetes** e outros **sistemas de contêineres** distribuídos
        * Algo na camada **Kubernetes** escutaria no **IP** e na **porta**. A replicação seria por ter **vários contêineres**, cada um com **um processo Uvicorn** em execução.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 04 11:04:50 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. docs/ru/docs/deployment/docker.md

    В этом варианте **в одном контейнере будет запущен только один процесс (Uvicorn)**, а управление изменением количества запущенных копий приложения происходит на уровне кластера.
    
    Здесь **не нужен** менеджер процессов типа Gunicorn, управляющий процессами Uvicorn, или же Uvicorn, управляющий другими процессами Uvicorn. Достаточно **только одного процесса Uvicorn** на контейнер (но запуск нескольких процессов не запрещён).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  4. docs/pl/docs/tutorial/first-steps.md

    Będzie to główny punkt interakcji przy tworzeniu całego interfejsu API.
    
    Ta zmienna `app` jest tą samą zmienną, do której odnosi się `uvicorn` w poleceniu:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Jeśli stworzysz swoją aplikację, np.:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:51:30 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/debugging.md

    # Debugging
    
    You can connect the debugger in your editor, for example with Visual Studio Code or PyCharm.
    
    ## Call `uvicorn`
    
    In your FastAPI application, import and run `uvicorn` directly:
    
    ```Python hl_lines="1  15"
    {!../../docs_src/debugging/tutorial001.py!}
    ```
    
    ### About `__name__ == "__main__"`
    
    The main purpose of the `__name__ == "__main__"` is to have some code that is executed when your file is called with:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. docs/vi/docs/index.md

    ---> 100%
    ```
    
    </div>
    
    Bạn cũng sẽ cần một ASGI server cho production như <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a> hoặc <a href="https://github.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a>.
    
    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    ## Ví dụ
    
    ### Khởi tạo
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. docs/zh/docs/index.md

    $ pip install fastapi
    
    ---> 100%
    ```
    
    </div>
    
    你还会需要一个 ASGI 服务器,生产环境可以使用 <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a> 或者 <a href="https://github.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a>。
    
    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    ## 示例
    
    ### 创建
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/server-workers.md

    </pre>
    ```
    
    </div>
    
    ////
    
    //// tab | `uvicorn`
    
    If you prefer to use the `uvicorn` command directly:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --host 0.0.0.0 --port 8080 --workers 4
    <font color="#A6E22E">INFO</font>:     Uvicorn running on <b>http://0.0.0.0:8080</b> (Press CTRL+C to quit)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/websockets.md

    {!../../docs_src/websockets/tutorial001.py!}
    ```
    
    👆 💪 📨 &amp; 📨 💱, ✍, &amp; 🎻 💽.
    
    ## 🔄 ⚫️
    
    🚥 👆 📁 📛 `main.py`, 🏃 👆 🈸 ⏮️:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    📂 👆 🖥 <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. docs/tr/docs/index.md

    ```
    
    </div>
    
    Uygulamamızı kullanılabilir hale getirmek için <a href="http://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a> ya da <a href="https://github.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a> gibi bir ASGI sunucusuna ihtiyacımız olacak.
    
    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    ## Örnek
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 16:50:01 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top