by sharmi · 6y ago · 0 comments
I have also used Celery parallelize crawling of multiple websites in parallel. Beyond a small number of workers, Celery would go into a frozen state (My data flow was one way. No chance that I know of deadlocking.) The code felt too convoluted to dive in and understand.
I have since shifted to Dramatiq ( https://dramatiq.io/ ). It has all the features I like of Celery (Chaining of async methods with error handling when any one link on the chain fails), with super reliability. It also has Django support.
Having said that, it must be recognized that Dramatiq was built from the success and learnings gained from Celery. Celery is a wonderful piece of work still in active use in almost all Python shops. I am just thankful that we now have so many alternatives.
PS: The Django-Q mentioned in another comment looks very well structured, comprehensive and actively developed. I shall give it a try. For now, so happy with Dramatiq.
I guess as long as you go into it eyes wide open - dramatiq is not an actor framework - you will be a-ok.
I am so glad to hear that the community has listened and picked it up again. Thank you for pointing it out.
I've used celery very successfully in the past once setup. About ten years ago I had problems connecting to rabbitmq. I finally found a solution and posted it on the GitHub project page. The funny thing is two years later I ran into the same issue. I forgot about that post and ended up stumbling on my post, and at first didn't realize it was mine.
I still get an occasional email about that solution.