You can put generated data to memcache with time parameter for expire your
data and datastore, then read it from memcache. If memcache empty - read
from datastore.

2011/5/20 PF <[email protected]>

> Hi!
>
> I set up the cron job and collecting data from internet. I'd like to
> display some statistics about the data. It's pretty enough to update
> the view once per day.
>
> From my point of view the ideal implementation could be to re-generate
> the index.html file once per day. Definitely I do not want to run the
> GQL query for every http request. I also think it is wasting of memory
> to put the data into memcache for whole day.
>
> Is there any way, what is your suggestion?
>
> Thx,
> Peter
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
С уважением,
Кулин Тимофей.

Телефон: +7 (4852) 974793
ICQ: 114902104
email: [email protected]
Blog: http://timofey.koolin.ru

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to