Hello Stefano, 

When you say that after the deprecation of the compat java flexible runtime 
one is force to come back to the standard environment, you might have 
overlooked one of the alternatives. This excellent alternative would be the 
flexible 
environment 
<https://cloud.google.com/appengine/docs/flexible/java/flexible-for-standard-users>,
 
that offers some services similar to the standard environment, especially 
important among these being scalability 
<https://cloud.google.com/appengine/docs/flexible/>. You can simply adapt 
<https://cloud.google.com/appengine/docs/flexible/python/migrating> your 
app to the Flexible Environment using Google Cloud Client libraries 
<https://cloud.google.com/apis/docs/cloud-client-libraries>. 

If you decide to keep your application running in the standard environment, 
there are a few avenues leading to improved latency 
<https://cloud.google.com/appengine/docs/go/console/managing-resources>. 

Firstly, your code seems to take the bulk of the response time, one sees 
17746 ms for yap/action/TecDocGenericArticlesGetAction (Timestamp 
2016-12-05 (12:12:20.790)). By contrast, Google platform services provide 
about 2 ms reaction time. 


The app.yaml settings you have chosen can be fine tuned too. The two main 
parameters are min pending latency of 0.500 ms, that can be increased, and 
Max Concurrent Request set to 5 when the default is 50. Playing around with 
these 2 parameters may improve latency markedly, and avoid the launching of 
new instances, but the main source of delay seems to be somewhere in your 
code. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/a5594b85-a03b-455d-a523-0c4cfd58f3d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to