Hi,

  I just moved my app to HRD and I am trying to use the memcache to overcome 
the eventual consistency problem.. When it comes to get-by-id queries the 
solution is very simple. The problem appears when I insert an entity and I 
want to appear in the results of more complex queries.
Because using entity groups is not the answer in certain situations I had to 
use some sort of foreign keys..
So far I thought of a system that gets an unique id from the query based on 
its FilterPredicates (eg: "MEMCACHE_PHONE_NUMBERS_contactId_12345") and then 
uses that to update or read the entities from there. I would build this 
system by doing my own implementation of the DatastoreService interface and 
attach the memcache management on the various put/delete/get methods.
I don't want to reinvent the wheel. Is there anything already done that I 
could use?

If anybody has any suggestions feel free to enlighten me ;)

Thanks,
Cristian.

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