Google has said in the past that there is no negative performance
effect from enabling XG transactions if you only use a single entity
group.  The rational thing to do is always enable XG transactions all
the time, but be aware when you span multiple entity groups in a
transaction.

I think it was silly of them to add this flag.

Jeff

On Sat, Jan 14, 2012 at 8:23 AM, Mike Lawrence <m...@systemsplanet.com> wrote:
> I guess I didn't expect to see mention of requiring entity groups for
> transactions now that GAE supports cross-entity-group transactions.
>
> Does GAE really need both modes?
> Is there a performance benefit to not
> enabling global transactions?
>
>
> On Jan 13, 3:25 m, "Ikai Lan (Google)" <ika...@google.com> wrote:
>> Actually, I took a look at these docs and it seems like we do talk about
>> cross group transactions. There are a few areas where we talk about
>> exceptions being thrown for transactions on entities in different entity
>> groups, but that's expected behavior. You must specify that you want a
>> cross-group transaction.
>>
>> We'd definitely like to improve these docs, however. Do you have any
>> suggestions or areas where this documentation seems confusing?
>>
>> --
>> Ikai Lan
>> Developer Programs Engineer, Google App Engine
>> plus.ikailan.com | twitter.com/ikai
>>
>> On Fri, Jan 13, 2012 at 12:23 PM, Ikai Lan (Google) <ika...@google.com>wrote:
>>
>>
>>
>> > Thanks! I'll file a bug for this since it's not merely a one line fix.
>> > We'll probably want to better explain cross-entity group transactions a bit
>> > and link to the documentation on that subject.
>>
>> > --
>> > Ikai Lan
>> > Developer Programs Engineer, Google App Engine
>> > plus.ikailan.com | twitter.com/ikai
>>
>> > On Fri, Jan 13, 2012 at 11:12 AM, Mike Lawrence 
>> > <m...@systemsplanet.com>wrote:
>>
>> >> Ikai,
>> >> Docs still say transactions wont span entity groups:
>> >>http://code.google.com/appengine/docs/java/datastore/transactions.html
>>
>> >>http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes
>> >>   Version 1.5.5 - Oct 11, 2011
>> >>       App Engine now supports Cross Group (XG) transactions with the
>> >> High Replication Datastore, which allow you to perform transactions
>> >> across multiple entity groups.
>> >>http://code.google.com/appengine/docs/java/datastore/transactions.html
>>
>> >> Sincerely,  Mike Lawrence
>>
>> >> On Thu, Jan 12, 2012 at 12:23 AM,
>> >> <google-appengine-java@googlegroups.com> wrote:
>> >> >   Today's Topic Summary
>>
>> >> > Group:http://groups.google.com/group/google-appengine-java/topics
>>
>> >> > problem with Content-type: null with css files [1 Update]
>> >> > Minor update to Java SDK: 1.6.1.1 [1 Update]
>> >> > [No Subject] [1 Update]
>> >> > proxying datastore request [3 Updates]
>> >> > how to get the correct time for germany? [2 Updates]
>>
>> >> >  problem with Content-type: null with css files
>>
>> >> > "Ikai Lan (Google)" <ika...@google.com> Jan 11 05:22PM -0800
>>
>> >> > We have an SDK update that resolves this issue on upload (I've also
>> >> posted
>> >> > in a separate thread about this):
>> >> > ...more
>>
>> >> >  Minor update to Java SDK: 1.6.1.1
>>
>> >> > "Ikai Lan (Google)" <ika...@google.com> Jan 11 05:21PM -0800
>>
>> >> > Hey everyone,
>>
>> >> > There's a new version of the Java SDK available for download. You can
>> >> get
>> >> > it here:
>>
>> >>http://code.google.com/p/googleappengine/downloads/detail?name=appeng...
>> >> > ...more
>>
>> >> >  [No Subject]
>>
>> >> > Aviv Keren <aviv...@gmail.com> Jan 11 11:08PM +0200
>>
>> >> > Ok tnx!
>> >> > ...more
>>
>> >> >  proxying datastore request
>>
>> >> > meiaestro <jmalbre...@gmx.de> Jan 11 07:18AM -0800
>>
>> >> > Hi all!
>>
>> >> > I was thinking about making my RPC calls to the server (datastore
>> >> commands)
>> >> > more secure against java script or data stream modifications on client
>> >> side
>> >> > (when user is already signed ...more
>>
>> >> > "Ikai Lan (Google)" <ika...@google.com> Jan 11 10:44AM -0800
>>
>> >> > Hi there!
>>
>> >> > "- a logged in user could manipulate the RPC call (he could for
>> >> > example exchange his userID by the ID of someone else and access the
>> >> data
>> >> > of this user)****
>>
>> >> > - to avoid that I need to ...more
>>
>> >> > meiaestro <jmalbre...@gmx.de> Jan 11 12:31PM -0800
>>
>> >> > Thanks for the reply.
>>
>> >> > You're right. I did not use the Users API, as I do not want to force the
>> >> > users to have a google account (or any other existing account). This
>> >> will
>> >> > be optional at a ...more
>>
>> >> >  how to get the correct time for germany?
>>
>> >> > vega <_v...@vr-web.de> Jan 11 07:24AM -0800
>>
>> >> > hi everyone.
>>
>> >> > since the days are getting longer, i noticed that in 2 months ill have
>> >> an
>> >> > error with my getTime() Method, which gives me the current time in a
>> >> "human
>> >> > friendly" way.
>>
>> >> > /** ...more
>>
>> >> > Ian Marshall <ianmarshall...@gmail.com> Jan 11 08:44AM -0800
>>
>> >> > The code below is how I do this. It works for summer and winter times
>> >> > automajically.
>>
>> >> > public static final Locale G_LOCALE_UK = Locale.UK;
>> >> > public static final String G_S_TIME_ZONE_ID = ...more
>>
>> >> > You received this message because you are subscribed to the Google Group
>> >> > google-appengine-java.
>> >> > You can post via email.
>> >> > To unsubscribe from this group, send an empty message.
>> >> > For more options, visit this group.
>>
>> >> > --
>> >> > 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.
>>
>> >> --
>> >> 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.
>
> --
> 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.
>

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