1👍
✅
If you need to share something between multiple processes or maybe even multiple machines (eg. your workers could run on a seperate machine) the best (and probably easiest) practice to share information would be using an external service.
In the simplest case you could use Django’s DB, but if you encounter that this is not suitable for you, for example if you have a heavy write load you can use something like Redis or Memcache (which you can also talk to via Django’s caching API). These will enable you to be able to handle a big write load and besides you can use eg. Redis as a queue for celery as well.
Source:stackexchange.com