Hello everybody,

I'm creating an application that pulls information from multiple sources 
stores it and notifies a client that an update had occurred. The client 
might decide to fetch the information in any time. In many scenarios my 
application will do multiple pulls (and thus update the datastore multiple 
times) however the client will fetch the information only once.

I have here a problematic situation, I want to store as much as I can in 
cache because the data is being replaced rapidly, however I still need to 
store it in case it is evicted (reading from the datastore is much faster 
then fetching the information again).

My questions:
1. Is there a way for me to know whether an item in memcache will be evicted 
soon ? (I know that JCache listeners are not fully supported).
2. If so can I know which item?

How would you solve the above problem? Do you think that wrapping memcache 
with my own mechanism and running it in a backend is a good solution ?

Efi

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/d-ptn6uvvrAJ.
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