I want to add analytics and repor开发者_如何学编程ts to my application on Google App Engine. Can you tell me how I can do that on google's "database"? Are there any oss libraries/tools available?
Thank you
Look at the new Map Reduce API (it doesn't contain reduce yet, but that's what Google calls it anyway).
This makes it easy to map over all the entities of a type in your datastore and count the things you're interested in.
Christopher O'Donnell has an article about using the Mapper API for analytics. He creates time slices (hour, day, month) ahead of time and maps over those to store the data for each time slice.
精彩评论