Get Advice Icon

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

Beanstalkd

111
161
+ 1
74
Celery

1.6K
1.6K
+ 1
280
Add tool

Beanstalkd vs Celery: What are the differences?

What is Beanstalkd? A simple, fast work queue. Beanstalks's interface is generic, but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously.

What is Celery? 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.

Beanstalkd belongs to "Background Processing" category of the tech stack, while Celery can be primarily classified under "Message Queue".

"Fast" is the primary reason why developers consider Beanstalkd over the competitors, whereas "Task queue" was stated as the key factor in picking Celery.

Beanstalkd and Celery are both open source tools. It seems that Celery with 12.9K GitHub stars and 3.33K forks on GitHub has more adoption than Beanstalkd with 5.12K GitHub stars and 748 GitHub forks.

Udemy, Sentry, and Postmates are some of the popular companies that use Celery, whereas Beanstalkd is used by Douban, Rollbar, and Vigil. Celery has a broader approval, being mentioned in 272 company stacks & 77 developers stacks; compared to Beanstalkd, which is listed in 27 company stacks and 8 developer stacks.

Advice on Beanstalkd and Celery
Needs advice
on
CeleryCelery
and
RabbitMQRabbitMQ

I am just a beginner at these two technologies.

Problem statement: I am getting lakh of users from the sequel server for whom I need to create caches in MongoDB by making different REST API requests.

Here these users can be treated as messages. Each REST API request is a task.

I am confused about whether I should go for RabbitMQ alone or Celery.

If I have to go with RabbitMQ, I prefer to use python with Pika module. But the challenge with Pika is, it is not thread-safe. So I am not finding a way to execute a lakh of API requests in parallel using multiple threads using Pika.

If I have to go with Celery, I don't know how I can achieve better scalability in executing these API requests in parallel.

See more
Replies (1)
Recommends
on
rqrqRedisRedis

For large amounts of small tasks and caches I have had good luck with Redis and RQ. I have not personally used celery but I am fairly sure it would scale well, and I have not used RabbitMQ for anything besides communication between services. If you prefer python my suggestions should feel comfortable.

Sorry I do not have a more information

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Beanstalkd
Pros of Celery
  • 23
    Fast
  • 12
    Free
  • 12
    Does one thing well
  • 9
    Scalability
  • 8
    Simplicity
  • 3
    External admin UI developer friendly
  • 3
    Job delay
  • 2
    Job prioritization
  • 2
    External admin UI
  • 99
    Task queue
  • 63
    Python integration
  • 40
    Django integration
  • 30
    Scheduled Task
  • 19
    Publish/subsribe
  • 8
    Various backend broker
  • 6
    Easy to use
  • 5
    Great community
  • 5
    Workflow
  • 4
    Free
  • 1
    Dynamic

Sign up to add or upvote prosMake informed product decisions

Cons of Beanstalkd
Cons of Celery
    Be the first to leave a con
    • 4
      Sometimes loses tasks
    • 1
      Depends on broker

    Sign up to add or upvote consMake informed product decisions

    8
    402
    581
    524
    9.1K
    - No public GitHub repository available -

    What is Beanstalkd?

    Beanstalks's interface is generic, but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously.

    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.

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

    Jobs that mention Beanstalkd and Celery as a desired skillset
    What companies use Beanstalkd?
    What companies use Celery?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

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

    What tools integrate with Beanstalkd?
    What tools integrate with Celery?
      No integrations found

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      GitHubPythonNode.js+47
      55
      72993
      JavaScriptGitHubPython+42
      53
      22319
      GitHubPythonSlack+25
      7
      3257
      GitHubPythonDocker+24
      13
      17128
      What are some alternatives to Beanstalkd and Celery?
      RabbitMQ
      RabbitMQ gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.
      Redis
      Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.
      Resque
      Background jobs can be any Ruby class or module that responds to perform. Your existing classes can easily be converted to background jobs or you can create new classes specifically to do work. Or, you can do both.
      Kafka
      Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design.
      Gearman
      Gearman allows you to do work in parallel, to load balance processing, and to call functions between languages. It can be used in a variety of applications, from high-availability web sites to the transport of database replication events.
      See all alternatives