I switched to EVENTUAL where ever possible, and realized significant gains virtually every time. Worth working hard to manage it IMHO.
stevep On Sep 20, 5:58 pm, Stephen Johnson <[email protected]> wrote: > If you're using HRD and using STRONG consistency, you can increase the speed > of the get by key by using EVENTUAL consistency. Of course with the possible > ramifications that incur with using EVENTUAL consistency. > > Stephen > > On Tue, Sep 20, 2011 at 3:21 PM, Steve Sherrie <[email protected]>wrote: > > > > > > > > > get_by_key_name first computes a db.Key from the key_name and then fetches > > the entity by that key, so it's already the quickest method. There's no > > practical time cost in the computing of the key. > > > Steve Sherrie > > > On 11-09-20 06:16 PM, yamadaag wrote: > > >> Hello. > > >> I often use "get_by_key_name" to get entities from Datastore. > >> I'm looking for faster way to get entities, does anyone know? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" group. > > To post to this group, send email to > > google-appengine@googlegroups.**com<[email protected]> > > . > > To unsubscribe from this group, send email to > > google-appengine+unsubscribe@**googlegroups.com<google-appengine%2Bunsubscr > > [email protected]> > > . > > For more options, visit this group athttp://groups.google.com/** > > group/google-appengine?hl=en<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.
