Skip to content

Server Multiprocessor

Fridolin Wild edited this page Jul 16, 2025 · 1 revision

Python per se is single threaded, so a 'juggler' component is required to switch incoming requests to workers. This is uvicorn, as it supports both asynchronous (ASGI) and direct apps (WSGI).

The key line to the start is in entrypoint.sh:

uvicorn cfehome.asgi:application --host 0.0.0.0 --port $SERVER_PORT --workers 10

Clone this wiki locally