I need to write code so that a user has a counter. This counter can be
read, increase, and decrease. This counter is mission critical so I
will use the high replication datastore.

So lets say I create a counter entity which has a user entity as the
ancestor. I increase the counter value and store the value. Almost
simultaneously I get another request to read the counter. I get the
entity from the datastore , using the correct ancestor chain, and I
read the value. Is it possible that these two values will be
different? If so, is there anyway way to prevent this from happening?

-- 
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