aboutsummaryrefslogtreecommitdiffstats
path: root/notes/production_deployment.md
blob: 8da4ec8a82e7d9c567b0ec88704de4b1e2816bc4 (plain)
1
2
3
4
5
6
7

## FastAPI in Production

Use gunicorn plus uvicorn, to get multiple worker processes, each running
async:

    gunicorn example:app -w 4 -k uvicorn.workers.UvicornWorker