Archive for February 2011

Feb/11

14

Celery and Twisted

I’ve been working with Celery, Twisted and Cyclone recently on a side project I have going on, however the integration between Celery and Twisted is not ideal for asynchronous programming which prompted me to jot down some notes for what I’ve worked out.  Hopefully this will be useful to someone, also if anyone wants to offer a better way I’m all ears :) .

Celery has some built in methods to allow you to check the completeness of a remote job by calling the successful() method on a returned AsyncResult object.  For example you can do something like this…

(more…)

No tags Hide

Copyright by Brent McConnell
Log in

Tag Cloud