Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] update celery and related pkgs #4895

Closed
wants to merge 5 commits into from

Conversation

pkfec
Copy link
Contributor

@pkfec pkfec commented Jun 22, 2021

Summary

  1. Update Celery and its dependant packages to the most stable versions.
  2. Test celery memory/performance has an improvements
  3. Test scheduled tasks run OK with the latest pkg upgrades

@pkfec pkfec changed the title update celery and related pkgs [WIP] update celery and related pkgs Jun 22, 2021
@pkfec
Copy link
Contributor Author

pkfec commented Jun 22, 2021

When ready to upgrade celery: This WIP PR has the most stable celery and its dependant comptable pkgs.
Celery v5.1.0 come with few breaking changes :

  1. Start celery see - https://docs.celeryproject.org/en/stable/userguide/periodic-tasks.html#starting-the-scheduler
Celery v4 Celery v5
celery beat --app webservices.tasks --loglevel INFO celery -A webservices.tasks beat --loglevel INFO
celery worker --app webservices.tasks --loglevel INFO celery -A webservices.tasks worker --loglevel INFO
  1. Type of connection pool(gevent, greenlet, solo, prefork etc...) MUST be specified during worker startup : https://www.distributedpython.com/2018/10/26/celery-execution-pool/#:~:text=The%20difference%20is%20that%20%E2%80%93pool,the%20eventlet%20Greenlet%20pool%20(eventlet.

@pkfec pkfec closed this Jun 22, 2021
@pkfec pkfec deleted the feature/update-celery-kombu-pkgs branch January 26, 2022 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant