Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

asyncio
asyncio

21
11
+ 1
0
Celery
Celery

847
502
+ 1
239
Add tool

asyncio vs Celery: What are the differences?

Developers describe asyncio as "Asynchronous I/O, event loop, coroutines and tasks". This module provides infrastructure for writing single-threaded concurrent code using coroutines, multiplexing I/O access over sockets and other resources, running network clients and servers, and other related primitives. On the other hand, Celery is detailed as "Distributed task queue". Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.

asyncio belongs to "Microframeworks (Backend)" category of the tech stack, while Celery can be primarily classified under "Message Queue".

Celery is an open source tool with 13.1K GitHub stars and 3.36K GitHub forks. Here's a link to Celery's open source repository on GitHub.

According to the StackShare community, Celery has a broader approval, being mentioned in 355 company stacks & 455 developers stacks; compared to asyncio, which is listed in 5 company stacks and 9 developer stacks.

- No public GitHub repository available -

What is asyncio?

This module provides infrastructure for writing single-threaded concurrent code using coroutines, multiplexing I/O access over sockets and other resources, running network clients and servers, and other related primitives.

What is Celery?

Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose asyncio?
Why do developers choose Celery?
    Be the first to leave a pro

    Sign up to add, upvote and see more prosMake informed product decisions

    What are the cons of using asyncio?
    What are the cons of using Celery?
      Be the first to leave a con
      What companies use asyncio?
      What companies use Celery?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with asyncio?
      What tools integrate with Celery?
        No integrations found
        What are some alternatives to asyncio and Celery?
        Flask
        Flask is intended for getting started very quickly and was developed with best intentions in mind.
        gevent
        It is a coroutine -based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libev or libuv event loop.
        ExpressJS
        Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.
        Django REST framework
        It is a powerful and flexible toolkit that makes it easy to build Web APIs.
        Sinatra
        Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.
        See all alternatives
        Decisions about asyncio and Celery
        No stack decisions found
        Interest over time
        Reviews of asyncio and Celery
        No reviews found
        How developers use asyncio and Celery
        Avatar of Kalibrr
        Kalibrr uses CeleryCelery

        All of our background jobs (e.g., image resizing, file uploading, email and SMS sending) are done through Celery (using Redis as its broker). Celery's scheduling and retrying features are especially useful for error-prone tasks, such as email and SMS sending.

        Avatar of Cloudify
        Cloudify uses CeleryCelery

        For orchestrating the creation of the correct number of instances, managing errors and retries, and finally managing the deallocation of resources we use RabbitMQ in conjunction with the Celery Project framework, along with a self-developed workflow engine.

        Avatar of MOKA Analytics
        MOKA Analytics uses CeleryCelery

        We maintain a fork of Celery 3 that adds HTTPS support for Redis brokers. The Winning Model currently uses Celery 3 because Celery 4 dropped support for Windows.

        We plan on migrating to Celery 4 once Azure ASE supports Linux apps

        Avatar of Yaakov Gesher
        Yaakov Gesher uses CeleryCelery

        We used celery, in combination with RabbitMQ and celery-beat, to run periodic tasks, as well as some user-initiated long-running tasks on the server.

        Avatar of Dieter Adriaenssens
        Dieter Adriaenssens uses CeleryCelery

        Using Celery, the web service creates tasks that are executed by a background worker. Celery uses a RabbitMQ instance as a task queue.

        How much does asyncio cost?
        How much does Celery cost?
        Pricing unavailable
        Pricing unavailable
        News about asyncio
        More news