Does it mean Memcached === the Memcache we use within AppEngine? I'm particularly interested in whether AppEngine Memcache is shared among all the JVMs that have been started for my application. Based on this I assume yes: "High performance scalable web applications often use _a distributed_ in-memory data cache in front of or in place of robust persistent storage for some tasks. App Engine includes a memory cache service for this purpose." ...I just want to be sure. I had the impression that two 'my' JVMs might not even reside in the same 'data-center', which would make the sharing quite a challenge, at least according to my n00b measures. :)
Regards J. Záruba > http://code.google.com/p/memcached/wiki/FAQ > > <http://code.google.com/p/memcached/wiki/FAQ> > > On Sat, Apr 3, 2010 at 12:59 AM, aswath satrasala < > > > > > > aswath.satras...@gmail.com> wrote: > > Hello Ikai, > > I am interested in Sequences, sequence starting from a initial value and > > increments. > > Can you little bit elaborate here on what is the risk with volatile here > > when using memcache. > > > Regards > > -Aswath > > > On Sat, Mar 6, 2010 at 1:05 AM, Ikai L (Google) <ika...@google.com> wrote: > > >> Have you looked into Memcache's INCR? > > >>http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...<http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...> > >> , > >> long) > > >> This'll do it atomically, but you run the risk of it being volatile, > >> so you'll have to account for that in your client code. > > >> On Tue, Mar 2, 2010 at 11:40 PM, legendlink <gregc...@gmail.com> wrote: > >> > hi, i wanted to have a sequence generator that increments by x value > >> > everytime it generates a value. if i would create the sequence > >> > generator by using the datastore, it is likely that data contention > >> > would occurr if there is high access times. > > >> > i have looked into the sample code of max ross in the google code > >> > repository (SequenceExamplesJDO.java) and think this is limited to > >> > increment by 1 only and not increment by x value. > > >> > if sharding technique is used, my concern is that i might not get the > >> > right sequence. > > >> > what is the best/elegant way of doing sequence generator that > >> > increments x value? > > >> > -- > >> > 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-j...@googlegroups.com. > >> > To unsubscribe from this group, send email to > >> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2B > >> unsubscr...@googlegroups.com> > >> . > >> > For more options, visit this group at > >>http://groups.google.com/group/google-appengine-java?hl=en. > > >> -- > >> Ikai Lan > >> Developer Programs Engineer, Google App Engine > >>http://googleappengine.blogspot.com|http://twitter.com/app_engine > > >> -- > >> 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-j...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2B > >> unsubscr...@googlegroups.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/google-appengine-java?hl=en. > > > -- > > 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-j...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2B > > unsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > Ikai Lan > Developer Programs Engineer, Google App > Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine -- 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-j...@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.