История изменений
Исправление OSBuster, (текущая версия) :
Ну для начала нужно чтобы изменили заголовки, слова Uvicorn я там нигде не видел.
Я писал, про него выше и вы же, вроде, сказали, что смотрели код:
https://github.com/ermolaev/http_servers_bench/tree/main/python
Там в корне лежит uvicorn_conf.py и uvicorn_worker.py а в main.py from uvicorn import Config, Server.
Я пошёл гуглить все эти имена собственные.
Uvicorn:
-
Uvicorn is an ASGI web server implementation for Python. Until recently Python has lacked a minimal low-level server/application interface for async frameworks. The ASGI specification fills this gap, and means we’re now able to start building a common set of tooling usable across all async frameworks. Uvicorn currently supports HTTP/1.1 and WebSockets.
-
ASGI (Asynchronous Server Gateway Interface) is a spiritual successor to WSGI, intended to provide a standard interface between async-capable Python web servers, frameworks, and applications.
CherryPy:
-
CherryPy is now more than ten years old and it is has proven to be very fast and stable. A reliable, HTTP/1.1-compliant, WSGI thread-pooled webserver.
Т.е. CherryPy это наоборот старый thread-pooled подход, как у рубишной Puma, а вот Uvicorn это вот такой весь из себя модный асинхронный аналог Falcon. Но который почему-то значительно медленнее.
FastAPI же это уже микро-фреймворк, который использует uvicorn под капотом.
Used by FastAPI: uvicorn - for the server that loads and serves your application. This includes uvicorn[standard], which includes some dependencies (e.g. uvloop) needed for high performance serving.
Исправление OSBuster, :
Ну для начала нужно чтобы изменили заголовки, слова Uvicorn я там нигде не видел.
Я писал, про него выше и вы же, вроде, сказали, что смотрели код:
https://github.com/ermolaev/http_servers_bench/tree/main/python
Там в корне лежит uvicorn_conf.py и uvicorn_worker.py а в main.py from uvicorn import Config, Server.
Я пошёл гуглить все эти имена собственные.
Uvicorn:
-
Uvicorn is an ASGI web server implementation for Python. Until recently Python has lacked a minimal low-level server/application interface for async frameworks. The ASGI specification fills this gap, and means we’re now able to start building a common set of tooling usable across all async frameworks. Uvicorn currently supports HTTP/1.1 and WebSockets.
-
ASGI (Asynchronous Server Gateway Interface) is a spiritual successor to WSGI, intended to provide a standard interface between async-capable Python web servers, frameworks, and applications.
CherryPy:
-
CherryPy is now more than ten years old and it is has proven to be very fast and stable. A reliable, HTTP/1.1-compliant, WSGI thread-pooled webserver.
Т.е. CherryPy это наоборот старый thread-pooled подход, как у рубишной Puma, а вот Uvicorn это вот такой весь из себя модный асинхронный аналог Falcon. Но который почему-то значительно медленнее.
FastAPI же это уже микро-фреймворк, который использует uvicorn под капотом.
Used by FastAPI: uvicorn - for the server that loads and serves your application. This includes uvicorn[standard], which includes some dependencies (e.g. uvloop) needed for high performance serving.
Исходная версия OSBuster, :
Ну для начала нужно чтобы изменили заголовки, слова Uvicorn я там нигде не видел.
Я писал, про него выше и вы же, вроде, сказали, что смотрели код:
https://github.com/ermolaev/http_servers_bench/tree/main/python
Там в корне лежит uvicorn_conf.py и uvicorn_worker.py а в main.py from uvicorn import Config, Server.
Я пошёл гуглить все эти имена собственные.
Uvicorn:
-
Uvicorn is an ASGI web server implementation for Python. Until recently Python has lacked a minimal low-level server/application interface for async frameworks. The ASGI specification fills this gap, and means we’re now able to start building a common set of tooling usable across all async frameworks. Uvicorn currently supports HTTP/1.1 and WebSockets.
-
ASGI (Asynchronous Server Gateway Interface) is a spiritual successor to WSGI, intended to provide a standard interface between async-capable Python web servers, frameworks, and applications.
CherryPy:
-
CherryPy is now more than ten years old and it is has proven to be very fast and stable. A reliable, HTTP/1.1-compliant, WSGI thread-pooled webserver.
Т.е. CherryPy это наоборот старый thread-pooled подход, как у рубишной Puma, а вот Uvicorn это вот такой весь из себя модный асинхронный аналог Falcon. Но который почему-то значительно медленнее.
FastAPI же это уже микро-фреймворк, который использует uvicorn под капотом.
Used by FastAPI: uvicorn - for the server that loads and serves your application. This includes uvicorn[standard], which includes some dependencies (e.g. uvloop) needed for high performance serving.