Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Guice startup time on Google App Engine 1.6.4

I'm using Guice 3 on Google App Engine 1.6.4. Today, I saw something bad on my startup time. My application (local launching) took 12 sec to start.

I got one ServletModule where I'm writing all my bindings in the configureServlets method. When I left this method empty, my application take 3 sec to start.

This method contains ~30 binding, 3 MultiBinder and 1 mapBinder...

  • Is it a normal starting time ? (~9s)
  • How to profile Guice processing ? (log,etc..)
  • Is there some good practices to optimize Guice startup ?

Thanks!

like image 630
pass1 Avatar asked Apr 23 '12 19:04

pass1


1 Answers

Switching to Google App Engine 1.6.3 or 1.6.5 solve the problem. It seems that it's a Google App Engine 1.6.4 issue. Thanks for your help !

like image 50
pass1 Avatar answered Oct 10 '22 03:10

pass1