It looks like your request is taking 3500ms. We autoscale up the number of
instances servicing your requests as long as you maintain average
milliseconds/request of 1000ms or under (we recommend 800ms, sub 400ms is
optimal). If you run lots of long running requests, we will not spin up new
instances for you and you will hit a scaling ceiling.

On Mon, Jul 5, 2010 at 6:30 AM, David Laing <[email protected]> wrote:

> I'm running some load tests use JMeter to get an idea of how my
> application performs under load on GAE (Java).
>
> When I hit around 100 virtual users my response time starts dropping,
> and I notice "throttle_code=4" appearing in the log files (see below).
>
> Does anyone know what this means?  Is the fact that I'm making
> multiple requests from the same IP hitting some kind of automatic DDOS
> protection?
>
> Thanks
>
> David
>
>
>
> ---- request with"throttle_code=4"; when connecting from JMeter
> 07-05 05:11AM 58.917 /market/1234/history?pricebars=240 200 3651ms
> 19cpu_ms 35kb Java/1.5.0_16,gzip(gfe)
> 75.101.226.4 - - [05/Jul/2010:05:12:02 -0700] "GET /market/1234/
> history?pricebars=240 HTTP/1.1" 200 35566 - "Java/1.5.0_16,gzip(gfe)"
> "ci-pricehistory.appspot.com" ms=3652 cpu_ms=19 api_cpu_ms=0
> cpm_usd=0.004527 pending_ms=3570 throttle_code=4
> I 07-05 05:12AM 02.532
> uk.co.cityindex.CandleServlet fetch: Loading 240 bars from cache...
> I 07-05 05:12AM 02.558
> uk.co.cityindex.CandleServlet fetch: time:47
>
> ---- request without "throttle" log; when connecting from browser
> 07-05 06:28AM 10.993 /market/1234/history?pricebars=240 200 69ms
> 19cpu_ms 7kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
> AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/
> 533.4,gzip(gfe)
> 80.169.172.178 - - [05/Jul/2010:06:28:11 -0700] "GET /market/1234/
> history?pricebars=240 HTTP/1.1" 200 7572 - "Mozilla/5.0 (Windows; U;
> Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/
> 5.0.375.99 Safari/533.4,gzip(gfe)" "ci-pricehistory.appspot.com" ms=69
> cpu_ms=19 api_cpu_ms=0 cpm_usd=0.001423
> I 07-05 06:28AM 11.031
> uk.co.cityindex.CandleServlet fetch: Loading 240 bars from cache...
> I 07-05 06:28AM 11.055
> uk.co.cityindex.CandleServlet fetch: time:45
>
> --
> 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]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
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.

Reply via email to