Hi WSouza,

On Wed, Oct 28, 2009 at 1:50 AM, WSouza <willmso...@gmail.com> wrote:
>
> Is there any better way to update 25 entities (different entity
> groups) than doing everything in a single put? It is taking about
> 500ms plus about 2-3s of CPU time and I have to do that a lot.

A batch put is more efficient than a single put.

JDO:
PersistenceManager#makePersistenceAll(Collection);

Low level API:
DatastoreService#put(Iterable<Entity>)

Hope this helps,

Yasuo Higa

--~--~---------~--~----~------------~-------~--~----~
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-java@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to