Am Freitag, 20. Dezember 2013 14:57:16 UTC+1 schrieb Tom Evans:
>
> On Fri, Dec 20, 2013 at 11:11 AM, Christian Schulz 
> <[email protected] <javascript:>> wrote: 
> > Hi, 
> > 
> > in my views i have  method calls which might be take some time. It is 
> > sufficient to return a simple message and request 
> > the result in another step. 
> > 
> > I explore celery , but It might be to complex , because I have to use 
> class 
> > based task an have some difficulties 
> > with the serializer's in different ways. 
>
> Celery is not too complex, it is just complex enough! You should use 
> celery over any sort of ghetto queue, since you will get management 
> and process control that otherwise may be missing or require you to 
> write yourself. Anything you have to write yourself distracts you from 
> writing the features that you actually desire in your site. 
>
> With respect to serialization, if this is something that can be 
> initiated from a view, then this must mean that the arguments are 
> easily serializable, since the arguments have already been serialised 
> into POST or GET arguments as strings. 
>
> Cheers 
>
> Tom 
>


Hi Tom + Erik,
Thanks to reinforce using celery. After some tutorials  I realize that's 
the best option.
Cheers  Christian

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6fe79434-e219-4c18-8578-9d2fd11290cc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to