Use a query cursor and sort your images in whatever order you want. Use memcache to cache the cursor state between requests.
Rgds T On Oct 27, 3:21 pm, megaswin <[email protected]> wrote: > Hi Guys, > > I need something like a global counter. Namely, a have a number of > pictures and want to show them one by one. In other words, I need some > kind of cursor (points to current picture) that I could move from one > picture to another. So I could use synchronized static variable, but > as I understand it's going to work only inside single JVM, but it's > not true for GAE apparently. Datastore is extremely slow for this. So > any other thoughts? > > Thanks a lot, > Maxim -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. 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.
