I want to share small pieces of informations between my worker nodes (for example cached authorization tokens, statistics, ...) in celery.
If I create a global inside my tasks-file it's unique per worker (My workers are processes and have a life-time of 1 task/execution).
What is the best practice? Should I save the state externally (DB), create an old-fashioned shared memory (could be difficult because of the different pool implementations in celery)?
Thanks in advance!