[google-appengine] Re: Faster than get_by_key_name
It's new for me to hear about EVENTUAL consistency of HRD. But I can't switch to HRD right now, so I'll try to find some other way to get entities faster. Thanks for answers! On Sep 21, 1:19 pm, stevep prosse...@gmail.com wrote: 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 onepagewo...@gmail.com 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 st...@wasteofpaper.comwrote: 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.**comgoogle-appengine@googlegroups.com . To unsubscribe from this group, send email to google-appengine+unsubscribe@**googlegroups.comgoogle-appengine%2Bunsubscr i...@googlegroups.com . For more options, visit this group athttp://groups.google.com/** group/google-appengine?hl=enhttp://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.
[google-appengine] Keep data on memcache as long as possible
Hello. I want to keep data on memcache as long as possible. I'm planning to use cron which checks data on memcache, but I think this way needs large list of memcache keys. Does anyone have some idea to keep data longer on memcache? -- 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.
[google-appengine] Faster than get_by_key_name
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. 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.
[google-appengine] Re: Number of entities or size of indexes would affect searching speed?
Sorry about late response... Thank you for your reply and answer for my question. I haven't care about ListProperty performance.. I'll read the articles of the links you've written. E.Yamada On May 27, 1:32 am, Robert Kluin robert.kl...@gmail.com wrote: Hi, The number of entities should have effectively no impact on query performance; the number of results returned by a query will of course impact performance (fetching more takes longer). I'm not sure what you're asking about index size, but the number of indexes you have will negatively impact your write performance. Indexes generally increase the performance of queries. The thing to be aware of when using SearchableModel is that it uses a ListProperty to index the search terms. There are some caveats around ListProperty and indexes, these are discussed in the docs. http://code.google.com/appengine/docs/python/datastore/queries.html#B... You can also find some discussion of how the datastore works in the articles. These can be quite useful in improving your understanding. http://code.google.com/appengine/articles/datastore/overview.html Robert On Tue, May 24, 2011 at 17:24, yamadaag edo808...@gmail.com wrote: Hello! I'm creating a web-app on Google App Engine/Python now. I use searchableModel to search entities from datastore, and I'm wondering how does the number of entities or size of indexes would affect searching speed. Does anyone know about it, or knows where I can see the pages/ documents about it? E.Yamada -- 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 athttp://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.
[google-appengine] Number of entities or size of indexes would affect searching speed?
Hello! I'm creating a web-app on Google App Engine/Python now. I use searchableModel to search entities from datastore, and I'm wondering how does the number of entities or size of indexes would affect searching speed. Does anyone know about it, or knows where I can see the pages/ documents about it? E.Yamada -- 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.