Server Multiprocessor - WEKIT-ECS/MIRAGE-XR GitHub Wiki

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