aboutsummaryrefslogtreecommitdiffstats
path: root/notes/production_deployment.md
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-01 18:24:57 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-01 19:28:56 -0700
commitc1e1a4ef64b56d72346d7de96b90a2421f6607c2 (patch)
treeebd5dcade4872d5fd6dcf77b9da3ccd4e210ffab /notes/production_deployment.md
parent3fa0b85554b8b72bbe4e5ee705d7febb9973210b (diff)
downloadfatcat-scholar-c1e1a4ef64b56d72346d7de96b90a2421f6607c2.tar.gz
fatcat-scholar-c1e1a4ef64b56d72346d7de96b90a2421f6607c2.zip
split out current README into other files
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