You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gunicorn doesn't contain any support for sharing objects between different worker processes. You'll need to use your own approach for that. There are many options depending on your needs. These include:
a NoSQL data store like Redis or ZODB
a SQL database like MySQL or sqlite
a dedicated process handling all the data that you communicate with, such as a Celery queue or even your own use of sockets.
In some case, for example : machine learning . Always have a big data model, and this model is read only. In order to use multi-core on a computer, we should use multi-processor instead muti-thread, so gunicorn can share common data between all processors will be very useful.
No description provided.
The text was updated successfully, but these errors were encountered: