I am very frustrated with the scheduler recently. It seems to have way too many instances running at any time; i.e., I _wish_ it were more aggressive about killing instances, or better yet, not spinning up extras when it's not actually necessary.
The most pathological case is when you ask for 1 Min Idle Instance (so that you get warmup requests), but if that instance is actually idle, the scheduler sends the request to a new cold instance instead of allowing the warm one that's sitting there to handle it. We have recently switched to Python 2.7, threadsafe: true, and F4 instances believing that we would see a fair decrease in the number of instances that are running at any given time. So far, not seeing any meaningful difference. Except for the additional cost... On Wednesday, 17 October 2012 11:05:31 UTC-6, Carl Schroeder wrote: > > Normally, these requests take under a second to satisfy, two seconds at > most. However at 2012-10-17 09:47:44.811 4 new instances were spun up for 4 > requests in a row. It is my understanding that Chrome is limited to a > certain number of concurrent requests per host. How could a single browser > session overwhelm Google app-engine? The result on the back end was 5 > instances where only one was needed. The result on the front end was 30 > seconds of waiting around. After a few minutes, the scheduler begins > killing off the new instances. Then the problem repeats itself. > > There were no warmup requests issued. My app is set up to handle them. > > This is behavior can be reproduced. > > The appid is lemurspot. > > > Please make sure that the next time the engineers mess with the dark > powers of the scheduler, they draw their pentagrams correctly. And don't > use frozen goats blood. ;) > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/tNo9FyW-VRAJ. 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.
