Upgrade Celery to 4.x
See original GitHub issueIssue Summary
Celery 3.x does not allow limiting worker memory usage. This means one worker can use all of host’s memory and affect function for other works and processes. Upgrading Celery to 4.x will allow adding --max-memory-per-child
flag and limit the memory usage.
I understand that Mozilla is using Celery 4 with Redash, we’d like to hear about your experience and what it involved.
There is a discussion on Discourse at https://discuss.redash.io/t/upgrade-celery-to-4-x/1867 Please add your thoughts to that discussion.
@arikfr can you tag the Mozilla folks?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
What's new in Celery 4.0 (latentcall)
Step 1: Upgrade to Celery 3.1.25; Step 2: Update your configuration with the new setting names; Step 3: Read the important notes in...
Read more >Upgrade Celery to 4.x - Development - Redash Discourse
The main aim is to use this as a discussion thread. If there are ways to limit the impact of upgrade, I'd like...
Read more >upgrading celery 4.x.x to 5.x.x in Django app - Stack Overflow
You can do a few things here. The typical way to invoke / start a worker from within python is discussed at this...
Read more >celery · PyPI
Python 2.7: Celery 4.x series. Python 3.6: Celery 5.1 or earlier. Celery is a project with minimal funding, so we don't support Microsoft...
Read more >Upgrade Celery to 4.x · Issue #210 · snowplow/snowplow-python ...
This should be upgraded to be up-to-date. The task decorator from celery.contrib.methods is found in Celery now. So app = Celery() can be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey there, Mozilla engineer here, from what I’ve gathered from the ops folk, Celery 4 has beeen an improvement in terms of stability and responsiveness. But I’ll let @robotblake chime in with more details who is on the operations side of our Redash instance.
Redash v6 will use Celery v4.