Even the appengine Java docs suggest it should be a batch:

http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Making_Objects_Persistent

<http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Making_Objects_Persistent>Specifically:
"To save multiple objects in JDO, call the makePersistentAll(...) method
with a Collection of objects. This method will use a single low-level batch
save operation that is more efficient than a series of individual
makePersistent(...) invocations."

I'd triple check your code.. since.. it seems that either you are making a
simple mistake somewhere along the way.. or Google has totally effed up and
forgot to update the code to persistall in batches.

Maybe you aren't feeding it a Collection of objects? and they are in some
other form that forces makePersistentAll() to fall back to serial puts?
 Even the SDK revision notes from September 2009 indicate that
makePersistentAll should use batch inserts (maybe you are doing updates?
 and it still doesn't do batch updates?)

http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes#Version_1.2.5_-_September_3,_2009



On Thu, Sep 30, 2010 at 4:19 PM, Michael <[email protected]> wrote:

> In case it wasn't obvious, Tommy and I are working on the same project, so
> his questions above are in regard to our attempts to batch the puts.  If we
> can get that working, we'll definitely report back on any performance
> changes we see.
>
>  --
> 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]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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

Reply via email to