aboutsummaryrefslogtreecommitdiffstats
path: root/notes/production_deployment.md
diff options
context:
space:
mode:
Diffstat (limited to 'notes/production_deployment.md')
-rw-r--r--notes/production_deployment.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/notes/production_deployment.md b/notes/production_deployment.md
new file mode 100644
index 0000000..8da4ec8
--- /dev/null
+++ b/notes/production_deployment.md
@@ -0,0 +1,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