-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Description
NOTE: I'm not sure whether i should be filing this here or upstream on starlette. Please let me know if Starlette developers are more knowledgeable about this. However, I'm using fastapi.
What is a good configuration setting for gunicorn in production.
On reading documentation of gunicorn with uvicorn, there are lines like this
"Gunicorn provides a different set of configuration options to Uvicorn, so some options such as --limit-concurrency are not yet supported when running with Gunicorn"
Is it possible for you to share a list of options that work well ? One of the biggest question is around threads - should we set the threads option?
what about stuff like "worker_connections" , "keepalive" (especially in context of async code)
allen-munsch