Yes, I am talking about datastore api. I made some isolated tests and the batch always wins (no by so much).
But in my app, when I break the batch into multiple async gets, I can start processing each async get result (and doing another api calls) before... and it seems to be perform better. I'll keep doing tests and post if find anything interesting. Thanks! On Thu, Dec 16, 2010 at 2:42 PM, Ikai Lan (Google) <[email protected]<ikai.l%[email protected]> > wrote: > You're talking about the datastore API? Underneath the hood, synchronous > gets just make asynchronous calls and block on Future.get() anyway. Making a > single synchronous batch get would translate to a single asynchronous RPC > with multiple keys vs. multiple asynchronous get RPCs. I suspect the single > batch call will perform better from a CPU cost/quota perspective, but I'd > defer to AppStats benchmarks as the authoritative answer. > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blogger: http://googleappengine.blogspot.com > Reddit: http://www.reddit.com/r/appengine > Twitter: http://twitter.com/app_engine > > > > On Wed, Dec 15, 2010 at 3:38 AM, Gal Dolber <[email protected]> wrote: > >> Should I expect the similar performance? or the batch will always be >> better? >> >> -- >> 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 >> [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-appengine-java%[email protected]> >> . >> 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 > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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 [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-java?hl=en.
