Re: [appengine-java] Handling concurrent modification

2010-04-23 Thread Chau Huynh
Maybe you can look into low level API to obtain a "lock" http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/memcache/MemcacheService.html#increment%28java.lang.Object,%20long%29 There're also sample implementation using this posted in the group https://groups.google.com/gr

[appengine-java] Handling concurrent modification

2010-04-22 Thread Phuong Nguyen
Hi guys: I'm creating an app that I need to deal with concurrent modification of object. Given I have an object that I need to store on memcache. Now, given my user base would be big enough for two request to arrive simultaneously at two different servers in the cloud. So, in order to modify t