Interesting. From John Patterson's comments, it sounds like I can remove bytecode generation by disabling the AOP stuff in Guice. Unfortunate because I rely on interceptors pretty heavily, but I can probably find an alternative. Thanks for the suggestion; I will do some experimentation.
We're now seeing startup times in 20-40s range in production, which could be related to a big code refactoring we just pushed (not focused on startup time) or could be coincidence. At any rate we're not in panic mode anymore. Jeff On Sat, Jun 23, 2012 at 8:26 PM, Rafael Dipold <[email protected]> wrote: > Hi Jeff, > > I'm not so experienced with GAE like you (less than 1 year), but I would try > to make my contribution. > > I have found in recent tests that Guice is a great villain of startup > time. The Guice execute a bytecode generator > (com.google.inject.internal.BytecodeGen newFastClass) classes for each > startup and increases the start time by up to 13 seconds (only the Guice!!). > > Then I change my project to use PicoContainer instead of Guice and my > startup decreased 11-12 seconds! > > Today I use Vraptor framework (http://vraptor.caelum.com.br/en) + > PicoContainer + Objectify 4 with classpath scanning and my startup is in > average 5 seconds. > > Follow my jars lib (34Mb): > > appengine-api-1.0-sdk-1.6.6.jar > appengine-api-labs-1.6.6.jar > appengine-jsr107cache-1.6.6.jar > commons-fileupload-1.2.1.jar > commons-io-1.3.2.jar > gmultipart.jar > guava-r07.jar > hamcrest-all-1.2RC3.jar > iogi-0.9.1.jar > javassist-3.14.0.GA.jar > json-20090211.jar > jsr107cache-1.1.jar > log4j-1.2.16.jar > mirror-1.5.1.jar > objectify-4.0a3.jar > paranamer-2.2.jar > picocontainer-2.13.6.jar > scannotation-1.0.3.jar > slf4j-api-1.6.1.jar > slf4j-log4j12-1.6.1.jar > vraptor-3.4.1.jar > vraptor-gae.jar > xstream-xstream-1.3.2-SNAPSHOT-GAE.jar > > -- > 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/-/-czBx6HdOsYJ. > > 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.
