Need advice about which tool to choose?Ask the StackShare community!
Celery vs Memcached: 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 Memcached? High-performance, distributed memory object caching system. Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.
Celery belongs to "Message Queue" category of the tech stack, while Memcached can be primarily classified under "Databases".
"Task queue" is the top reason why over 84 developers like Celery, while over 133 developers mention "Fast object cache" as the leading cause for choosing Memcached.
Celery and Memcached are both open source tools. It seems that Celery with 12.7K GitHub stars and 3.3K forks on GitHub has more adoption than Memcached with 8.93K GitHub stars and 2.6K GitHub forks.
Facebook, Instagram, and Dropbox are some of the popular companies that use Memcached, whereas Celery is used by Udemy, Bitbucket, and Leftronic. Memcached has a broader approval, being mentioned in 750 company stacks & 264 developers stacks; compared to Celery, which is listed in 271 company stacks and 77 developer stacks.
Pros of Celery
- Task queue99
- Python integration63
- Django integration40
- Scheduled Task30
- Publish/subsribe19
- Various backend broker8
- Easy to use6
- Great community5
- Workflow5
- Free4
- Dynamic1
Pros of Memcached
- Fast object cache139
- High-performance129
- Stable91
- Mature65
- Distributed caching system33
- Improved response time and throughput11
- Great for caching HTML3
- Putta2
Sign up to add or upvote prosMake informed product decisions
Cons of Celery
- Sometimes loses tasks4
- Depends on broker1
Cons of Memcached
- Only caches simple types2