I migrated my App Engine application from java 7 to java 8 as described here:
The invoked endpoint in my App Engine application performs the following steps:
- Performs an http request using java.net.HttpURLConnection
- Extracts text from the web page retrieved using
- Creates a json object containing some fields realated to the web page visited
- Returns the json in the response.
I notice a dramatic performance deterioration with java 8.
Using the App Engine console chart, I notice a big difference in latency.
I extracted the following information from the logs by choosing two requests
representing the average latency time. The first one for requests on the java 7
version and the second one for requests on the java 8 version.
Java 7 version:
Java 8 version
It is useful to clarify that running some tests on my local app engine
environment (on my local machine), I did not notice any difference in the times
of execution between java 7 and java 8. So it seems to me that the problem does
not come from the version of java but perhaps from the environment app engine
where the two versions run. Is my assumption correct?
Does anyone have any ideas about the possible causes?
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 post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.