celery VS Django

Compare celery vs Django and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
celery Django
43 484
23,385 76,573
1.1% 1.0%
9.6 9.9
6 days ago 6 days ago
Python Python
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

celery

Posts with mentions or reviews of celery. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-03.
  • Examples of using task scheduler with Go?
    8 projects | /r/golang | 3 Jun 2023
    In the Django world, you'd probably rely on Celery to do this for you. You're probably looking for something similar that works with Go. https://github.com/celery/celery
  • SynchronousOnlyOperation from celery task using gevent execution pool on django orm
    3 projects | /r/django | 31 May 2023
    4 projects | /r/djangolearning | 31 May 2023
  • Taskiq: async celery alternative
    4 projects | /r/Python | 2 Apr 2023
    RabbitMQ Classic mirror queues are very fragile to network partitioning. They are deprecated in favor of Quorum queues, but Celery doesn't support them yet : https://github.com/celery/celery/issues/6067
  • Use Celery with any Django Storage as a Result Backend
    5 projects | /r/django | 7 Feb 2023
    The Celery package provides some number of (undocumented!) result backends to store task results in different local, network, and cloud storages. The django-celery-result package adds options to use Django-specific ORM-based result storage, as well as Django-specific cache subsystem.
  • Django Styleguide
    9 projects | news.ycombinator.com | 11 Jan 2023
    I spent 3 years building a high scale crawler on top of Celery.

    I can't recommend it. We found many bugs in the more advanced features of Celery (like Canvas) we also ran into some really weird issues like tasks getting duplicated for no reason [1].

    The most concerning problem is that the project was abandoned. The original creator is not working on it anymore and all issues that we raised were ignored. We had to fork the project and apply our own fixes to it. This was 4 years ago so maybe things improved since them.

    Celery is also extremely complex.

    I would recommend https://dramatiq.io/ instead.

    [1]: https://github.com/celery/celery/issues/4426

  • Processing input and letting user download the result
    2 projects | /r/django | 4 Jan 2023
    You can use celery to process the file for extraction, saving and creating rar/zip.
  • RQ-Scheduler for tasks in far future?
    2 projects | /r/Python | 28 Dec 2022
    Celery not usefull for long term future tasks (far future) · Issue #4522 · celery/celery (github.com)
  • Dedicated backend resources per client
    3 projects | /r/kubernetes | 17 Dec 2022
    A different approach would be to have a main web application which would communicate with worker processes for time intensive operations as you describe. The web app would communicate with workers via some form of MQ or even database. Many solutions exists for that in different languages, one such solution is [Celery](https://github.com/celery/celery) primarily developed for Python but these days it also supports Node, Go, PHP and Rust.
  • Alternative for Django Celery.
    3 projects | /r/django | 24 Nov 2022
    Django-q2 only requires one dependency (except for Django itself). Celery, requires quite a few: https://github.com/celery/celery/blob/master/requirements/default.txt

Django

Posts with mentions or reviews of Django. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-09.
  • AutoCodeRover resolves 22% of real-world GitHub in SWE-bench lite
    8 projects | news.ycombinator.com | 9 Apr 2024
    >As an example, AutoCodeRover successfully fixed issue #32347 of Django.

    This bug was fixed three years ago in a one-line change.[0] Presumably the fix was already in the training data.

    [0] https://github.com/django/django/pull/13933

  • An Introduction to Testing with Django for Python
    2 projects | dev.to | 14 Feb 2024
    You should not test Django's own code — it's already been tested. For example, you don't need to write a test that checks if an object is retrieved with get_object_or_404 — Django's testing suite already has that covered.
  • Django Hello, World
    2 projects | dev.to | 9 Feb 2024
    Django is a high-level Python web framework that prioritizes rapid development with clear, reusable code. Its batteries-included approach supplies most of what you need for complex database-driven websites without turning to external libraries and dealing with security and maintenance risks. In this tutorial, we will build a traditional "Hello, World" application while introducing you to the core concepts behind Django.
  • No changes detected with MAKEMIGRATION command after moving to new DataBase
    2 projects | /r/django | 9 Dec 2023
    Django's auth and session migration files are included with Django at https://github.com/django/django/tree/b287af5dc954628d4b336aefc5027b2edceee64b/django/contrib/auth/migrations and https://github.com/django/django/tree/b287af5dc954628d4b336aefc5027b2edceee64b/django/contrib/sessions/migrations
  • The DevRel Digest November 2023: DevRel You Should Know Part One and Why I Will Never, Ever Leave Developer Relations
    2 projects | dev.to | 1 Dec 2023
    Dawn Wages’ name came up a few times in my call for nominations, and it’s easy to see why! Dawn is a Python Community Advocate at Microsoft. She is active in the Django community with an emphasis on people of color and queer people in tech. Dawn’s impressive resume includes OSS maintainer, member of the Wagtail Core Team, DjangoCon '21, '22, '23 Sponsorship Chair, volunteer for Django Girls, and DjangoCon Africa 2021 Sponsorship Chair.
  • Implementing Role-Based Access Control in Django
    2 projects | dev.to | 1 Nov 2023
    There are many models of access control, however, in this guide, we are going to focus on Role Based Access Control (RBAC) and how to implement it in Django.
  • Online Django Development Sprint, October 19-20.
    6 projects | /r/django | 19 Oct 2023
  • An Introduction to ⚡FastAPI
    5 projects | dev.to | 17 Oct 2023
    Several frameworks for developing web APIs have been developed, such as Django and Flask, but the underlying speed problem has always been present. As a result, another Python framework, FastAPI, has been developed to combat this issue.
  • Beginning Python: Project Management With PDM
    4 projects | dev.to | 12 Oct 2023
    A majority of software in the modern world is built upon various third party packages. These packages help offload work that would otherwise be rather tedious. This includes interacting with cloud APIs, developing scientific applications, or even creating web applications. As you gain experience in python you'll be using more and more of these packages developed by others to power your own code. In this example I've decided to expand our math functionality with NumPy. pdm add is what's used to add dependencies like this to our project:
  • Strong typing, a hill I'm willing to die on
    9 projects | news.ycombinator.com | 4 Oct 2023

What are some alternatives?

When comparing celery and Django you can also consider the following projects:

dramatiq - A fast and reliable background task processing library for Python 3.

Apache Kafka - Mirror of Apache Kafka

huey - a little task queue for python

Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production

NATS - High-Performance server for NATS.io, the cloud and edge native messaging system.

Flask - The Python micro framework for building web applications.

rq - Simple job queues for Python

Masonite - The Modern And Developer Centric Python Web Framework. Be sure to read the documentation and join the Discord channel for questions: https://discord.gg/TwKeFahmPZ

kombu - Messaging library for Python.

arq - Fast job queuing and RPC in python with asyncio and redis.

Sidekiq - Simple, efficient background processing for Ruby