I use getRessourceAsStream an Stream-copy - but you miss the point...it's a Hello World, done in 5 minutes as test for your post, stripping away all excuses. The calls after startup are answered in <80 ms. That mans that I'm still far above 3 seconds for initializing of an empty project. I could simply write Hello World into the Stream.
I could use static...yes...but thats not the point. Some people have dynamic and user dependand data on each page. Am Samstag, 21. Juli 2012 22:09:11 UTC+2 schrieb Brandon Wirtz: > > Shit, even putting it in your static and Fetching by URL is faster than > File reader. > > > > > > Hi, > > I do nothing. I have 1 Servlet, no additional Libs. The Servlet reads a > local ressource and writes it to the output stream, thats all. > Hello World. > Even the empty container does need some class loading - thats the Java > world. And currently people have startup timing problems. > > 1.5 Seconds are possible if all your stuff is static and in Edge cache, > nothing really starts up there. > > Best regards, > André > > > Am Samstag, 21. Juli 2012 21:41:02 UTC+2 schrieb Brandon Wirtz: > > The intent of that line was that you would save 3.5s dropping factory for > the GAE API > > > > But one of my main apps is 2.2s average spinup time, I am pretty sure I > can get Hello world in under 1.5. > > > > Are you lazy loading? Are your lazy loads lazy loading? Have you threaded > your Lazy Loads? > > Class 1 has dependencies ABC, Class 2 has depencies DEF, > > Warm up does basically nothing but defer Class1 and Class2 > > > > If Cold Start only do Called Class, If first call to instance defer other > classes for warm up. > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/cTL6IofY1ygJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
