I have starred the issue you have created but I don't have a lot hopes on 
that issue.

I have also observed the similar behavior for both my java and groovy apps. 
Upgrading to java8 makes the cold boot lot more worse than it already was. 
I am seeing times in order of 7-10 seconds for hello world app. 

I think JVM is actually getting better with so I don't think it can be 
attributed to Java8 itself. However, here are some of my guesses

1. servlet 3.1 upgrade might be scanning classpath for annotations 
@WebFilter etc..
2. Java8 GAE/J also removed whitelisting, which essentially could mean more 
classes/impl ending up on path.
3. Or there is really slow container boot, nothing to do with JVM in this 
case. For example, the http request was received at 15:43:28.721 but first 
log that JVM spit out was at 15:43:39.520, now i know by testing locally, 
JVM startup does not take 10 secs for my app, may be 2-3 secs in worse 
case. So I'd attribute these extra seconds to non-JVM stuff.

Google should really profile the differences between the two runtime 
environments and work towards improving cold boot time for Java8.



On Thursday, October 19, 2017 at 6:57:36 PM UTC+5:30, Nilson Pontello wrote:
>
> I am giving  up this thread.
>
> Tried first from stack overflow 
> <https://stackoverflow.com/questions/46036973/cold-boot-on-appengine-with-java8>,
>  
> then here, now I am moving to the issue tracker.
>
> https://issuetracker.google.com/issues/67992784
>
> Regards
>
>
> On Tuesday, 12 September 2017 11:28:34 UTC-3, Nilson Pontello wrote:
>>
>> I've deployed the helloworld samples on appegine standard using *java7* 
>> and *java8* runtimes and noticed that *java8* takes in average *6 times 
>> longer* to spin up a new instance. I've used *B1* instances on my tests 
>> but noticed the same on *B2* as well and I am not willing to use more 
>> expensive instance classes because currently I have no traffic at all.
>>
>> is it because *java8* is still BETA or a limitation that we should 
>> consider regarding *java8*?
>>
>> Many thanks
>>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1dd92959-6c77-4fcb-a8b9-64f2450871f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to