Celery vs WCF: What are the differences?
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.
What is WCF? A runtime and a set of APIs for building connected, service-oriented applications. It is a framework for building service-oriented applications. Using this, you can send data as asynchronous messages from one service endpoint to another. A service endpoint can be part of a continuously available service hosted by IIS, or it can be a service hosted in an application.
Celery can be classified as a tool in the "Message Queue" category, while WCF is grouped under "Realtime Backend / API".
Celery is an open source tool with 12.9K GitHub stars and 3.33K GitHub forks. Here's a link to Celery's open source repository on GitHub.
Udemy, Sentry, and Postmates are some of the popular companies that use Celery, whereas WCF is used by Bluebeam Software, Heimdal Security, and KGS Buildings. Celery has a broader approval, being mentioned in 272 company stacks & 77 developers stacks; compared to WCF, which is listed in 8 company stacks and 3 developer stacks.
What is Celery?
What is WCF?
Need advice about which tool to choose?Ask the StackShare community!
Why do developers choose WCF?
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using WCF?
Sign up to get full access to all the companiesMake informed product decisions
What tools integrate with WCF?
As Sentry runs throughout the day, there are about 50 different offline tasks that we execute—anything from “process this event, pretty please” to “send all of these cool people some emails.” There are some that we execute once a day and some that execute thousands per second.
Managing this variety requires a reliably high-throughput message-passing technology. We use Celery's RabbitMQ implementation, and we stumbled upon a great feature called Federation that allows us to partition our task queue across any number of RabbitMQ servers and gives us the confidence that, if any single server gets backlogged, others will pitch in and distribute some of the backlogged tasks to their consumers.
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.
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.
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
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.