Also, if you're using Memcache at all (manually or through something like 
Objectify), check the cache hit rate and see if there's been a change there.

On Tuesday, June 23, 2015 at 1:03:16 PM UTC-5, Nick (Cloud Platform 
Support) wrote:
>
> The AppStats 
> <https://cloud.google.com/appengine/docs/java/tools/appstats#Java_A_tour_of_the_Appstats_console>tool
>  
> contains much of the functionality you'd want if you were looking to 
> profile your RPC calls (such as Datastore query), although knowing that a 
> Datastore.query occurred won't tell you how many entities were fetched.
>
> In order to get a better picture of the source of your Datastore reads, 
> you should do an analysis of your codebase to determine where Datastore 
> reads can occur, and also determine whether there are any limit() or 
> offset() operations being applied. In the absence of these, . Then, 
> associate these locations in code with the requests that will activate 
> them. Finally, perform an analysis of your logs to determine how often each 
> route is being called, thus allowing you to determine how often each 
> potential Datastore read location is being called. In order to analyze your 
> logs, you should use the Logs API 
> <https://cloud.google.com/appengine/docs/java/logs/>.
>
> If you have a handler on the route /account/details that will perform a 
> Datastore read of the past N records for your user's account when 
> /account/details?depth=N is requested, you'll be able to determine this 
> information while iterating through your logs for the day, and tally up the 
> number of reads that are likely to have occurred. 
>
> Finally, you can read a collection of great tips on managing Datastore 
> resource usage in this docs article: *Managing App Resources 
> <https://cloud.google.com/appengine/docs/managing-resources#datastore>.*
>
> On Monday, June 22, 2015 at 11:33:31 PM UTC-4, John Del Rosario wrote:
>>
>> Starting a few days ago (June 17 to be precise), my Datastore Reads quota 
>> has more than quadrupled, with no changes in the codebase.
>> I'm thinking maybe some url is being abused or something, or maybe a 
>> broken task. 
>> But in the dashboard graphs, I don't see any spikes or strange behavior.
>> And my taskqueues look normal.
>>
>> Where could I start looking for what's wrong?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/936e0f1c-3bce-448e-87fd-eac000d369c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to