No the point is a major limitation of Appengine is that File IO is SLOW so you never do “open file”
You want to do “dynamic” pull that from memory or datastore. NEVER EVER LOAD DATA FROM FILE OTHER THAN TO POPULATE THE DATASTORE FOR THE FIRST TIME IF YOU CARE ABOUT WARMUP Yes I have an exception where I do that with a 40 MB pickled file that it is faster than doing 40 reads from the datastore and doing a join because of the memory usage, but that is a weird case. But yes. You are doing it wrong. And if you would profile your apps you would know you are doing it wrong. From: [email protected] [mailto:[email protected]] On Behalf Of André Pankraz Sent: Saturday, July 21, 2012 1:19 PM To: [email protected] Subject: Re: [google-appengine] Re: Startup time exceeded...on F4?! 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. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. 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.
