|
|
|
|
|
by andybak
1250 days ago
|
|
Yeah. Or a simple cron wrapper like django-cron to get the best of both worlds. For background tasks - you can just spawn a background process and keep a simple status table in the db so the main app can check if it's completed (assuming you even need that) And for task queues that can handle the traffic most sites will need there's things like django-huey. |
|
I don't know if making my own bespoke queue system is a great idea. It seems simple enough, but it gets so much more complicated once you start seeing issues with it. Orphaned task processes sticking around on the server forever, concurrency control, error handling, etc. I'll pretty much always just use celery and not have to worry about it.