On 16/12/15 12:05, Ben Liyanage wrote:
And, beyond that, there are plenty of non-critical tasks that applications could easily offload until after a response has been sent - like saving things into a cache or thumbnailing newly-uploaded images.http://channels.readthedocs.org/en/latest/concepts.html#concepts I mean this example sounds like celery to me. You don't want an image to maybe have a thumbnail generated. And you have no return value to the client when the thumbnail is generated.
There are certainly some cases, AIUI, where channels can obviate the need for Celery... like sending emails, or thumbnailing uploaded image, and so on.
However, given the different reliability profiles, there's still room for both.
-- Curtis -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/5670E575.9020106%40tinbrain.net. For more options, visit https://groups.google.com/d/optout.
