Hi,
  What it looks like is happening is that you're requests are getting
stuck in the pending queue.  In order to get more instances you need
to reduce your call latency.  In your case this might just be
something happening in passing, since the actual request only took a
couple hundred ms.

> ms=1490 cpu_ms=467 api_cpu_ms=0
> cpm_usd=0.013200  throttle_code=1

The pending ms value (1058) is the time the request was waiting to be
serviced by an instance; as I recollect it gets added to the request
latency (the ms value).  As a note, that request does not seem to make
any API calls.  I don't recall what throttle_code 1 means, would be
great if these were documented somewhere
(http://code.google.com/p/googleappengine/issues/detail?id=4405),


Robert





On Tue, Jul 19, 2011 at 15:31, observer247 <prem...@gmail.com> wrote:
> My python app engine app is somewhat popular, mainly used as via api
> from my iphone app.
>
>
> Recently I am seeing high over usage charges.
>
> The most used call already use 15 CPU hours , with stats:
>        3.7 calls/sec   26.15K requests in 12hrs        603 (0) [cpu]
>
> HTTP/1.1" 200 1839 - "QandA/5.4 CFNetwork/485.12.7 Darwin/10.4.0"
> "may.latest.nuvusanswers.appspot.com" ms=1490 cpu_ms=467 api_cpu_ms=0
> cpm_usd=0.013200 pending_ms=1058 throttle_code=1
> instance=00c61b117c8b0de1286e8d90c22f4d5b3897c8
>
> This call just reads a memcache and returns the data. Thats it. Will
> really like to know are memcache reads so expensive ? Am I using a lot
> more memcache that I need ?
>
> I have removed all other versions and have just one version running.
> The number of instances now is
>
> 28 total        0.510 (Average QPS)     281.1 ms (Average Latency)      59.5 
> MBytes
> (Average Memory)
>
> As this is the most expensive call, I am first going after that. but I
> am seeing most of my calls are now using a LOT of CPU. Will be great
> if anyone can point me to things I can debug to find out the high
> usage across the board.
>
> Thank you for reading this !
>
> --
> 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-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> 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 google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to