The logs show that Guice is taking 5 seconds to build the Injector.  I
have tried setting Guice to development mode in the hope that it would
start up faster but it takes about the same as production.

Does anyone else find Guice slow to start?

On top of this delay it is taking 7 seconds before my application code
is even called so loading requests always take longer than the 10
second limit and the simultaneous requests are aborted.  I assume the
only option is to keep the app warm by pinging it.

On Dec 11, 7:50 am, "Ikai L (Google)" <ika...@google.com> wrote:
> Yes, loading dependencies can add to your startup time. Are you initializing
> anything on startup?
>
>
>
>
>
> On Tue, Dec 8, 2009 at 10:29 PM, jd <jdpatter...@gmail.com> wrote:
> > Hi,
>
> > My application takes over 10 seconds on loading requests to output its
> > log messages.  During this time, simultaneous requests are aborted
> > because they cannot be serviced within the 10 second limit.
>
> > What is the best way to optimise startup time?  I have already turned
> > on precompilation.  Is the number of dependancies an important factor?
>
> > Thanks,
>
> > John
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine for Java" group.
> > To post to this group, send email to
> > google-appengine-j...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2B 
> > unsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to