My biggest concern is that even if I cut my startup time in half
(which I suspect is optimistic), I'm still going to be at the mercy of
a blip in GAE. The startup time varies by a factor of 3 even when
GAE is in "normal" state.
If indeed our app needs to be single-JARred and obfuscaticated (at least removing unused code), IMO that feature should be baked in the tool. Probably triggered with extra flag.
# of classes in WEB-INF/classes: 304
Size of WEB-INF/classes: 737KB (1.5MB on disk)
# of jars in WEB-INF/lib: 56
Size of WEB-INF/lib: 50.8M
(25M of this is GAE SDK)
# of classes registered with Objectify: 12
# of classes registered with other means: 5? (Guice)
Fastest observed startup time: 10s
Typical startup time: 15s
Slowest startup time: 25s
# of classes in WEB-INF/classes: 619(cd war/WEB-INF/classes; ls -R | grep class | wc -l)
Size of WEB-INF/classes: 3.3M(cd war/WEB-INF/classes; du -sh .)
# of jars in WEB-INF/lib: 54
Size of WEB-INF/lib: 42M(25M of this is GAE SDK)
# of classes registered with Objectify: 36 (plus maybe half that againin @Embed and @Serialize classes)
# of classes registered with other means (any explicit classloading,ie JAX-RS): 100+
Fastest observed startup time: 20sTypical startup time: 50sSlowest startup time: deadlined 60s+
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to google-appengine+unsubscribe@googlegroups.com.
Hi all,I've also been battling with with java warmup times. Last week I had startup time of at least 37 seconds. Now it's hovering around 16.My performance improvements were made by bundling all my dependencies together into a single jar. I've been using the excellent gradle gae plugin (https://github.com/bmuschko/gradle-gae-plugin), which integrates with https://github.com/musketyr/gradle-fatjar-plugin/. This could easily be integrated with an existing gradle project in under an hour.We're using Resteasy, Htmleasy, soy templates, hibernate orm and validator. There were about 60 jars in my WEB-INF/lib.Regards,Will Rayner
On Friday, June 22, 2012 1:18:51 PM UTC+10, Thomas Wiradikusuma wrote:
I have updated http://code.google.com/p/googleappengine/issues/detail?id=7706 with this information.
On Monday, 18 June 2012 11:44:29 UTC+8, Takashi Matsuo (Google) wrote:
On Mon, Jun 18, 2012 at 9:57 AM, Thomas Wiradikusuma
My project is GAE + GWT.# of classes in WEB-INF/classes: 619(cd war/WEB-INF/classes; ls -R | grep class | wc -l)5421 (packed in a single .jar)