Friday, August 16, 2013

Re: Django Periodic tasks

On 17/08/13 03:43, Christophe Pettus wrote:
>
> On Aug 16, 2013, at 7:36 PM, Some Developer wrote:
>
>> Alternately I could get rid of the hourly period task and just work it out when a customer visits a certain page but that is likely to lead to long load times and heavy database use.
>>
>> Any suggestions on what you would do in this situation?
>
> Calculate the value on demand, and cache it with an expiration time, most likely.
>
> --
> -- Christophe Pettus
> xof@thebuild.com
>

Good plan. Thanks.

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate