Hi,

we recently debugged a performance issue with Guice 3 running on the
App Engine. I don't want to go into the details, but it turned out
that our app on GAE is faster (both initial startup + warmup requests)
when Guice is ran in Stage.PRODUCTION than in Stage.DEVELOPMENT (the
default stage when you do not set a stage explicitly).

We actually expected that Stage.DEVELOPMENT would be faster because
a lot of binding is then done on-demand. But this was wrong - at least
for our applications.

So - if you are using Guice you can try to start your injector in
Stage.PRODUCTION.

Please also share any insights you may have on this.


Thanks,


Raphael

The thread were we discussed the issue:
https://groups.google.com/forum/#!topic/ninja-framework/IHs5wUQEQsI

More on Guice Stages:
https://google-guice.googlecode.com/svn/trunk/latest-javadoc/com/google/inject/Stage.html

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to