python - use standard datastore index or build my own -


i running webapp on google appengine python , app lets users post topics , respond them , website collection of these posts categorized onto different pages.

now have around 200 posts , 30 visitors day right taking 20% of reads , 10% of writes datastore. wondering if more efficient use google app engine's built in get_by_id() function retrieve posts ids or if better build own. of queries have use gql or built in query language because retrieved on more , id wanted see better.

thanks!

are doing efficient caching? (or caching @ all).

also, if you're using many writes 300 posts, seems might have problem models. have looked @ datastore viewer seem how many writes use per entity?

you might read docs on exploding indexes, maybe that's part of problem?

it's way better use get_by_id(). finds exact object, , costs way less (counts query 1 entity).


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -