Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Ip (0.12 sec)

  1. docs/ru/docs/deployment/concepts.md

    Вот некоторые возможные комбинации и стратегии:
    
    * **Gunicorn** управляющий **воркерами Uvicorn**
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. docs/ko/docs/deployment/server-workers.md

    * `--worker-class`: 워커 프로세스에서 사용하기 위한 구니콘과 호환되는 워커클래스.
        * 이런식으로 구니콘이 import하여 사용할 수 있는 클래스를 전달해줍니다:
    
            ```Python
            import uvicorn.workers.UvicornWorker
            ```
    
    * `--bind`: 구니콘이 관찰할 IP와 포트를 의미합니다. 콜론 (`:`)을 사용하여 IP와 포트를 구분합니다.
        * 만약에 `--bind 0.0.0.0:80` (구니콘 옵션) 대신 유비콘을 직접 실행하고 싶다면 `--host 0.0.0.0`과 `--port 80`을 사용해야 합니다.
    
    출력에서 각 프로세스에 대한 **PID** (process ID)를 확인할 수 있습니다. (단순한 숫자입니다)
    
    출력 내용:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/concepts.md

    Here are some possible combinations and strategies:
    
    * **Gunicorn** managing **Uvicorn workers**
        * Gunicorn would be the **process manager** listening on the **IP** and **port**, the replication would be by having **multiple Uvicorn worker processes**.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  4. docs/ja/docs/deployment/concepts.md

    考慮すべき主な制約は、**パブリックIP**の**ポート**を処理する**単一の**コンポーネントが存在しなければならないということです。
    
    そして、レプリケートされた**プロセス/ワーカー**に通信を**送信**する方法を持つ必要があります。
    
    考えられる組み合わせと戦略をいくつか紹介します:
    
    * **Gunicorn**が**Uvicornワーカー**を管理
        * Gunicornは**IP**と**ポート**をリッスンする**プロセスマネージャ**で、レプリケーションは**複数のUvicornワーカー・プロセス**を持つことによって行われる。
    * **Uvicorn**が**Uvicornワーカー**を管理
        * 1つのUvicornの**プロセスマネージャー**が**IP**と**ポート**をリッスンし、**複数のUvicornワーカー・プロセス**を起動する。
    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)
  5. docs/en/docs/advanced/behind-a-proxy.md

    ```mermaid
    graph LR
    
    browser("Browser")
    proxy["Proxy on http://0.0.0.0:9999/api/v1/app"]
    server["Server on http://127.0.0.1:8000/app"]
    
    browser --> proxy
    proxy --> server
    ```
    
    !!! tip
        The IP `0.0.0.0` is commonly used to mean that the program listens on all the IPs available in that machine/server.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  6. docs/en/docs/fastapi-cli.md

    By default it will listen on the IP address `127.0.0.1`, which is the IP for your machine to communicate with itself alone (`localhost`).
    
    ## `fastapi run`
    
    When you run `fastapi run`, it will run on production mode by default.
    
    It will have **auto-reload disabled** by default.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:16 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. docs/zh/docs/deployment/concepts.md

    可以通过多种方法来实现这一目标,我将在接下来的章节中向您详细介绍具体策略,例如在谈论 Docker 和容器时。
    
    要考虑的主要限制是必须有一个**单个**组件来处理**公共IP**中的**端口**。 然后它必须有一种方法将通信**传输**到复制的**进程/worker**。
    
    以下是一些可能的组合和策略:
    
    * **Gunicorn** 管理 **Uvicorn workers**
         * Gunicorn 将是监听 **IP** 和 **端口** 的 **进程管理器**,复制将通过 **多个 Uvicorn 工作进程** 进行
    * **Uvicorn** 管理 **Uvicorn workers**
         * 一个 Uvicorn **进程管理器** 将监听 **IP** 和 **端口**,并且它将启动 **多个 Uvicorn 工作进程**
    * **Kubernetes** 和其他分布式 **容器系统**
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  8. docs/zh/docs/deployment/server-workers.md

    * `--worker-class`:在worker进程中使用的与 Gunicorn 兼容的工作类。
         * 这里我们传递了 Gunicorn 可以导入和使用的类:
    
             ```Python
             import uvicorn.workers.UvicornWorker
             ```
    
    * `--bind`:这告诉 Gunicorn 要监听的 IP 和端口,使用冒号 (`:`) 分隔 IP 和端口。
         * 如果您直接运行 Uvicorn,则可以使用`--host 0.0.0.0`和`--port 80`,而不是`--bind 0.0.0.0:80`(Gunicorn 选项)。
    
    
    在输出中,您可以看到它显示了每个进程的 **PID**(进程 ID)(它只是一个数字)。
    
    你可以看到:
    
    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)
  9. docs/en/docs/deployment/server-workers.md

        * Here we pass the class that Gunicorn can import and use with:
    
            ```Python
            import uvicorn.workers.UvicornWorker
            ```
    
    * `--bind`: This tells Gunicorn the IP and the port to listen to, using a colon (`:`) to separate the IP and the port.
        * If you were running Uvicorn directly, instead of `--bind 0.0.0.0:80` (the Gunicorn option) you would use `--host 0.0.0.0` and `--port 80`.
    
    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)
  10. docs/ja/docs/deployment/server-workers.md

    * `--worker-class`: ワーカー・プロセスで使用するGunicorn互換のワーカークラスです。
        * ここではGunicornがインポートして使用できるクラスを渡します:
    
            ```Python
            import uvicorn.workers.UvicornWorker
            ```
    
    * `--bind`: GunicornにリッスンするIPとポートを伝えます。コロン(`:`)でIPとポートを区切ります。
        * Uvicornを直接実行している場合は、`--bind 0.0.0.0:80` (Gunicornのオプション)の代わりに、`--host 0.0.0.0`と `--port 80`を使います。
    
    出力では、各プロセスの**PID**(プロセスID)が表示されているのがわかります(単なる数字です)。
    
    以下の通りです:
    
    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)
Back to top