Overview
Uvicorn 0.30, released on May 28, 2024, introduces a new multiprocess manager replacing the old worker system.
Main Features
New multiprocess manager
The new multiprocess manager improves worker handling with more reliable restarts, better connection distribution, and optimized graceful shutdown.
python
import uvicorn
# Using the new multiprocess manager
uvicorn.run(
'app:app',
host='0.0.0.0',
port=8000,
workers=4, # new multiprocess manager
)
