Regarding the question about better performance by writing entities in 
different entity groups; that's not an option if you're using JDO is it, 
doesn't JDO require a transaction around writes?


Jason (Google) wrote:
> This past Wednesday, the App Engine team hosted the latest session of
> its bimonthly IRC office hours. A transcript of the session and a
> summary of the topics covered is provided below. The next session will
> take place on Wednesday, January 6th from 7:00-8:00 p.m. PST in the
> #appengine channel on irc.freenode.net.
> 
> - Jason
> 
> 
> --SUMMARY-----------------------------------------------------------
> - Q: Can one achieve better peformance by writing entities in
> different entity groups outside of a transaction over writing multiple
> entitites in the same entity group inside of a transaction? A: Yes!
> App Engine supports batch (parallel) writes for entities in distinct
> entity groups. Updates to multiple entities in the same entity group,
> regardless of whether you use transactions, forces the entities to be
> written serially which takes more time. In order to achieve the best
> performance, keep your entity groups as small as possible and only use
> transactions if you absolutely need atomic writes to two or more
> entities. [9:09-9:11, 9:13-9:15]

--

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.


Reply via email to