I used the appstats tool to figure out where all my datastore writes were coming from. Super easy to configure, and barely any processing overhead.
http://code.google.com/appengine/docs/python/tools/appstats.html http://googleappengine.blogspot.com/2010/03/easy-performance-profiling-with.html The only problem I had with this tool was it made my memory usage grow exponentially for a cron job that my backend was executing. The backend does a lot of work, and this job usually lasts 3 minutes, even though it happens only once every hour. But since this memory explosion was limited to a single type of request, I was able to exclude it from appstats by using appstats_FILTER_LIST in appengine_config.py. Hope this helps. On Thu, Sep 22, 2011 at 1:35 AM, James Gilliam <[email protected]> wrote: > i made from significant adjustments after the new pricing as a result > of the large, make that HUGE, numbers of reads and writes. I have > eliminated most of my indexes but I am still getting these numbers. > > e.g. I am creating a single entity during a startup operation ... when > i look at this entity in GAE launcher it says 170 writes. Ok ... I am > writing a single entity that has NO indexes. The entity doesn't have > that many fields but it says 170 writes. > > Also, I assume these are just datastore writes and not memcache > writes. Correct? > > My billing history seems to bear out this numbers, but I am doing > 100,000 writes a day which seems wrong by a factor of 100. > > It would be great to get better breakout of these writes in the > datastore statistics or anywhere. > > I have to get to the bottom of this so I at least know why I am seeing > such high numbers. > > Any explanation would be greatly appreciated. > > -- > 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. > > -- 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.
