Thanks leszek,

I agree that keeping an indicator in memcache is much better than
keeping the data itself there. I was trying to avoid checking memcache
on every request, but I guess there is no way around that :)


On Oct 19, 10:11 am, leszek <leszek.ptokar...@gmail.com> wrote:
> What about using memcache as keeping "cache version counter" ? When
> update is needed than this counter is increased. Every requests keeps
> local number and at the beginning compare local counter against
> memcache counter. If not equal than refresh local cache and local
> cache number.
> If memcache counter if not available (expired) than assume it as equal
> 0 and behave accordingly. It could mean unnecessary cache refreshing
> from time to time if memcache expires.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to