With the appengine pricing changes, we've been paying attention to our datastore puts. According to the pricing comparison chart we're making 2.18 million puts a day. This seems a lot higher than expected. We receive about 0.6 queries per second which means that each request is making about 60 puts!!
Using the sample code for db profiling http://code.google.com/appengine/articles/hooks.html we measured this for a day and the most we counted was ~14,000 which seems more reasonable. Does anyone have experience with something similar on their site?
--
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-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
"Whenever possible, replace indexed properties (which are the default)
with unindexed properties, which reduces the number of datastore write
operations when you put an entity."
Divide 375M writes by number of request to get the average writes per
request. Use code similar to the following to log requests with more
than average writes:
https://gist.github.com/715284
Should home in on the write-happy code pretty quickly.