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 <st...@wasteofpaper.com>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<google-appengine@googlegroups.com>
> .
> To unsubscribe from this group, send email to
> google-appengine+unsubscribe@**googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at http://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 google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to