To implement this sort of feature, you need to have a worker queue - Celery is the heavy duty answer for this; if you just need a cheap and cheerful answer, RQ is a fairly easy-to-use option, or you can roll-your-own in the database without too much trouble.
Just to be perfectly clear…. you talk about celery and indeed i've seen some tutorials about it.
But most were written before 3.5 python.
Specifically for the image processing, do I need to install celery, can't I just use async / await for this task ?
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/bHtaOx9eHYg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJxq849Zua8%2BPMCRkAeT7nAXuJnshORcjnJLjv3SAgFSoJ6bxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment