Answer the question
In order to leave comments, you need to log in
What are workers in gunicorn?
$ gunicorn -w 4 --bind 0.0.0.0:8000 wsgi:app
And how many workers should I specify when configuring the application? Why is there 4 in this case?
Answer the question
In order to leave comments, you need to log in
The processes in which the application runs. Their number depends on the number of processor cores, available memory, resource requirements of the application, the nature and speed of its work, as well as the predicted load.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question