I'm a little confused as to which one I should use. I think either will work, but is one better or more appropriate than the other?
http://github.com/ask/carrot/tree/master
http://github.com/ask/celery/tree/master
If a long process is part of your application's workflow, you can use Celery to execute that process in the background, as resources become available, so that your application can continue to respond to client requests. This keeps the task out of the application's context.
Celery makes it easier to implement the task queues for many workers in a Django application.
Yes you can. Celery is a generic asynchronous task queue.
Celery allows Python applications to quickly implement task queues for many workers. It takes care of the hard part of receiving tasks and assigning them appropriately to workers. You use Celery to accomplish a few main goals: Define independent tasks that your workers can do as a Python function.
If you need to send/receive messages to/from AMQP message queues, use carrot
.
If you want to run scheduled tasks on a number of machines, use celery
.
If you're making soup, use both ;-)
May you should see this http://www.slideshare.net/idangazit/an-introduction-to-celery
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With