I am trying to do some tasks in django that consume alot of time. For that, I will be running background tasks.
After some R&D, i have found two solutions:
Celery with RabbitMQ.
Django Background tasks.
Both options seem to fulfill the criteria but setting up Celery will require some work. Now as far as the second option is concerned, setup is fairly simple and in fairly quick amount of time, i can go on writing background tasks. Now my questions if i adopt the 2nd option is this:
- How well does Django Background tasks perform ? (Scalability wise in Production environment).
- Can i poll the tasks (after some time) in DB to check the task's status?
- Architecture of Django-Background-tasks? Couldn't find any clear explanation about it's architecture (Or have I missed some resource?)
- Again coming to the first point, how well does Django Background tasks perform in production. (Talking about prior experience of using this in prod.)