question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade Celery to 4.x

See original GitHub issue

Issue 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:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
jezdezcommented, May 4, 2018

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.

0reactions
arikfrcommented, Nov 13, 2018

Redash v6 will use Celery v4.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found