Guice can add quite a bit of startup time. There are some threads on this in
the appengine-java group. Also see
http://turbomanage.wordpress.com/2010/03/26/appengine-cold-starts-considered/
/dmc
On Mon, Aug 22, 2011 at 10:24 PM, objectuser kevin.k.le...@gmail.comwrote:
I decided to give
I decided to give Objectify a try because I think any significant reduction
in startup time could be quite valuable.
It appears my startup time is now around 8s. So maybe 2s less, but I don't
have any objective data. It's certainly not around 2s total. Alas.
On the plus side, Objectify
I'm wondering if JARs like appengine-api-1.0-sdk-1.5.2.jar in WEB-INF/lib
get uploaded when I deploy from Eclipse. Are these items needed in the
Google environment?
I'm asking because I'm wondering if removing (if viable) would reduce my
startup time, which seems to come in anywhere from 10s
Yes, these get deployed, and yes they are needed online because they provide
the interfaces to the APIs. These are essentially thin clients. Fortunately,
because we calculate a hash on each of the files, they're not reuploaded
each time because we already have an identical file online.
I'm not
I'm just generally trying to look to see if there's anything I can trim. My
app seems to need to spin up a new instance a lot (the instance seems to
stay up for only a minute or so if I'm not using it), and so there are a lot
of 10s delays for requests. I don't really have a ton of libraries,
I do use JDO (not JPA) and Guice (and not Spring). I also use GWT, GIN and
Shiro. So I have maybe 5 primary libraries, along with the SDK.
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To view this discussion on the web visit
Correct me if I am wrong, I read some where that if one unzip/unjar and jar
everything back as a single huge jar file, that will reduce the startup time
significantly? Any volunteers to test the theory? : o
Also for google, instead of jar splitting, why not provide jar merging
feature? Don't
I think you're likely to see some benefit from uncompressing your jar files
(i.e. unjar and rejar with -0), but not from merging them. However, free to
experiment with this and report back on your results.
On Wed, Aug 17, 2011 at 6:14 PM, JT jem...@gmail.com wrote:
Correct me if I am wrong, I
There you go Don, provide that uncompressing out of the box something like
jar splitting that the SDK is already doing for big jar file. In GAEJ SDK
2.0? :)
On Wed, Aug 17, 2011 at 7:14 PM, JT jem...@gmail.com wrote:
Correct me if I am wrong, I read some where that if one unzip/unjar and jar
@objectuser,
My startup time is around 2 secs using static scanning for annotated
components with VRaptor and Objectify. I don't think you can refactor your
project at this point but its worth to check these frameworks for your next
one.
Regards,
On Wed, Aug 17, 2011 at 8:19 PM, JT
10 matches
Mail list logo