Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 302 for Worker (0.15 sec)

  1. docs/em/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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. docs/zh/docs/deployment/server-workers.md

            ```
    
         * 因此,`main:app` 中的冒号相当于 `from main import app` 中的 Python `import` 部分。
    
    * `--workers`:要使用的worker进程数量,每个进程将运行一个 Uvicorn worker进程,在本例中为 4 个worker进程。
    
    * `--worker-class`:在worker进程中使用的与 Gunicorn 兼容的工作类。
         * 这里我们传递了 Gunicorn 可以导入和使用的类:
    
             ```Python
             import uvicorn.workers.UvicornWorker
             ```
    
    * `--bind`:这告诉 Gunicorn 要监听的 IP 和端口,使用冒号 (`:`) 分隔 IP 和端口。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. docs/de/docs/deployment/server-workers.md

    ## Gunicorn mit Uvicorn-Workern ausführen
    
    Dann können Sie Gunicorn ausführen mit:
    
    <div class="termy">
    
    ```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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/testdata/workloadsummary_default.txt

    default   details-v1-698d88b-krdw7       10.244.2.55 ambient-worker2 None     HBONE
    default   httpbin-7447985f87-t8hv7       10.244.1.40 ambient-worker  None     TCP
    default   productpage-v1-675fc69cf-kkrm2 10.244.2.56 ambient-worker2 None     HBONE
    default   ratings-v1-6484c4d9bb-8xc2r    10.244.2.57 ambient-worker2 None     HBONE
    default   reviews-v1-5b5d6494f4-c7z5w    10.244.1.41 ambient-worker  None     HBONE
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 24 09:07:30 UTC 2024
    - 757 bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/testdata/workloadsummary.txt

    default            reviews-v3-5b9bd44f4-z9ms4                           10.244.1.43 ambient-worker        None                                HBONE
    default            sleep-7656cf8794-lxcmx                               10.244.2.58 ambient-worker2       None                                HBONE
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 24 09:07:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. docs/en/docs/deployment/server-workers.md

    ///
    
    ## Multiple Workers
    
    You can start multiple workers with the `--workers` command line option:
    
    //// tab | `fastapi`
    
    If you use the `fastapi` command:
    
    <div class="termy">
    
    ```console
    $ <pre> <font color="#4E9A06">fastapi</font> run --workers 4 <u style="text-decoration-style:single">main.py</u>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/test/groovy/gradlebuild/cleanup/services/LeakingProcessKillPatternTest.groovy

            def projectDir = 'C:\\some\\agent\\workspace'
    
            expect:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 12 03:42:46 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. docs/ko/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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. 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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. 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.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top