I have a strong suspicion that disk access with many files is an issue. Have you made any effort to package your classes as a jar file?
It'd be great to get some instrumentation that shows disk vs in-memory setup time. Looks a bit fiddly to do (multiple projects), but here's some Q&A around it: http://stackoverflow.com/questions/9397101/configure-eclipse-to-deploy-app-engine-apps-as-a-single-bundled-war-for-faster-w On Saturday, June 16, 2012 11:56:33 PM UTC+2, Jeff Schnitzer wrote: > > We're having a big problem with instance startup time. It varies > between 20s and 60+ seconds, and lately it's tending towards the high > end. We're starting to experience downtime because instances get > deadlined before they go active. > > This app is well optimized for GAE. There's no classpath scanning and > it doesn't try to eagerly load data. On a good day it starts in > 20s... so at this point there's not really much I can do. > > I have a cron task that performs a db cleanup once a minute, and since > crons can run over 60s I can eventually get one instance started, > which is enough to serve traffic at the moment. But at this point I > can no longer deploy code over old versions because the appserver > restart will fail. > > Please help. > > Jeff > On Saturday, June 16, 2012 11:56:33 PM UTC+2, Jeff Schnitzer wrote: > > We're having a big problem with instance startup time. It varies > between 20s and 60+ seconds, and lately it's tending towards the high > end. We're starting to experience downtime because instances get > deadlined before they go active. > > This app is well optimized for GAE. There's no classpath scanning and > it doesn't try to eagerly load data. On a good day it starts in > 20s... so at this point there's not really much I can do. > > I have a cron task that performs a db cleanup once a minute, and since > crons can run over 60s I can eventually get one instance started, > which is enough to serve traffic at the moment. But at this point I > can no longer deploy code over old versions because the appserver > restart will fail. > > Please help. > > Jeff > -- 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/-/-BJJdNf6DV4J. 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.
