Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for hypercorn (0.2 sec)

  1. docs/de/docs/deployment/manually.md

    === "Hypercorn"
    
        * <a href="https://gitlab.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a>, ein ASGI-Server, der auch mit HTTP/2 kompatibel ist.
    
        <div class="termy">
    
        ```console
        $ pip install hypercorn
    
        ---> 100%
        ```
    
        </div>
    
        ... oder jeden anderen ASGI-Server.
    
    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)
  2. docs/ru/docs/deployment/manually.md

    ### Установка Hypercorn с Trio
    
    Для начала, вам нужно установить Hypercorn с поддержкой Trio:
    
    <div class="termy">
    
    ```console
    $ pip install "hypercorn[trio]"
    ---> 100%
    ```
    
    </div>
    
    ### Запуск с Trio
    
    Далее запустите Hypercorn с опцией `--worker-class` и аргументом `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)
  3. docs/zh/docs/deployment/manually.md

    但如果你想直接使用**Trio**,那么你可以使用**Hypercorn**,因为它支持它。 ✨
    
    ### 安装具有 Trio 的 Hypercorn
    
    首先,您需要安装具有 Trio 支持的 Hypercorn:
    
    <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>
    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)
  4. docs/en/docs/deployment/manually.md

    === "Hypercorn"
    
        * <a href="https://gitlab.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a>, an ASGI server also compatible with HTTP/2.
    
        <div class="termy">
    
        ```console
        $ pip install hypercorn
    
        ---> 100%
        ```
    
        </div>
    
        ...or any other ASGI server.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/behind-a-proxy.md

    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Hypercorn 也支持 `--root-path `选项。
    
    !!! note "技术细节"
    
        ASGI 规范定义的 `root_path` 就是为了这种用例。
    
        并且 `--root-path` 命令行选项支持 `root_path`。
    
    ### 查看当前的 `root_path`
    
    获取应用为每个请求使用的当前 `root_path`,这是 `scope` 字典的内容(也是 ASGI 规范的内容)。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. docs/de/docs/benchmarks.md

        * Wenn Sie Uvicorn vergleichen, vergleichen Sie es mit Anwendungsservern wie Daphne, Hypercorn, uWSGI, usw.
    * **Starlette**:
        * Wird nach Uvicorn die nächstbeste Performanz erbringen. Tatsächlich nutzt Starlette intern Uvicorn. Daher kann es wahrscheinlich nur „langsamer“ als Uvicorn sein, weil mehr Code ausgeführt wird.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 16:04:13 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. docs/es/docs/benchmarks.md

        * Si estás comparando Uvicorn, compáralo con los servidores de aplicaciones Daphne, Hypercorn, uWSGI, etc.
    * **Starlette**:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Feb 07 11:39:50 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. docs/en/docs/benchmarks.md

        * If you are comparing Uvicorn, compare it against Daphne, Hypercorn, uWSGI, etc. Application servers.
    * **Starlette**:
        * Will have the next best performance, after Uvicorn. In fact, Starlette uses Uvicorn to run. So, it probably can only get "slower" than Uvicorn by having to execute more code.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. docs/ur/docs/benchmarks.md

            <li><div style="text-align: right;">اگر آپ Uvicorn کا موازنہ کر رہے ہیں تو اس کا موازنہ Daphne، Hypercorn، uWSGI وغیرہ ایپلیکیشن سرورز سے کریں۔</div></li>
        </ul>
    </ul>
    <ul style="direction: rtl;">
        <li><div style="text-align: right;"><b>Starlette</b>:</div></li>
        <ul>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 05 08:24:21 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  10. docs/zh-hant/docs/benchmarks.md

    的多個附加功能、資料驗證等。
    L20:
    L21:* **Uvicorn**:
    L22:    * 具有最佳效能,因為除了伺服器本身之外,它沒有太多額外的程式碼。
    L23:    * 你不會直接在 Uvicorn 中編寫應用程式。這意味著你的程式碼必須或多或少地包含 Starlette(或 **FastAPI**)提供的所有程式碼。如果你這樣做,你的最終應用程式將具有與使用框架相同的開銷並最大限度地減少應用程式程式碼和錯誤。
    L24:    * 如果你要比較 Uvicorn,請將其與 Daphne、Hypercorn、uWSGI 等應用程式伺服器進行比較。
    L25:* **Starlette**:
    L26:    * 繼 Uvicorn 之後的次佳表現。事實上,Starlette 使用 Uvicorn 來運行。因此它將可能只透過執行更多程式碼而變得比 Uvicorn「慢」。
    L27:    * 但它為你提供了建立簡單網頁應用程式的工具,以及基於路徑的路由等。
    L28:    * 如果你要比較 Starlette,請將其與 Sanic、Flask、Django 等網頁框架(或微框架)進行比較。
    ...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 27 14:30:56 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top