Did you try to go from 0QPS to 1000QPS Immediately?  What happens if
you start slow, like 10 or 20QPS for a minute or two, then pound it?
Are you sure you're not hitting the limits of what your testing setup
can handle?

I've had apps ramp up to several thousand QPS with no issues at all,
but there was already some trafic.


Robert





On Tue, Aug 9, 2011 at 20:44, kawasaki <[email protected]> wrote:
> I want to handle 1000 or more requests per second, and the requests
> will appear suddenly.
> My simple ApacheBench benchmark tells GAE can handle 300-400 req/sec.
> And number of instances are up to just 60. (I expected this should be
> more large.)
>
> GAE program is very simple, like the following:
> ====
> class Foo(webapp.RequestHandler):
>    def get(self):
>        self.redirect('http://example.com/')
>
> application = webapp.WSGIApplication([('/test/', Foo)], debug=False)
> if __name__ == '__main__':
>    run_wsgi_app(application)
> ====
>
> ApacheBench command is like this:
> ====
> ab -n 1000 -c 1000 http://example.appspot.com/test/
> ====
>
> And I tested by other python script with 9 machines, but it shows
> 70-75 req/sec for every machine.
>
> I know, non-sudden requests are handled safely.
> When req/sec grows slowly, number of instances will be over 140.
>
> Is there any way to handle the sudden requests?
> (I think this question is almost same as "Why number of instances will
> not become over 60 ?"
>
> I tried "Always On" and "warmup" options, and enabled billing setting,
> but I cannot find obvious changes.
>
> Please help me :-)
>
> Best regards,
> kawasaki
>
> --
> 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.
>
>

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