It really depends on if you are making calls within App Engine Standard 
<https://cloud.google.com/appengine/docs/standard/> or App Engine Flexible 
<https://cloud.google.com/appengine/docs/flexible/> as they both 
send/accept requests using different infrastructures. 

- The App Engine Standard URLFetch infrastructure typically adds less than 
1 ms latency overhead to HTTP requests. For URLFetch requests to other App 
Engine Standard services, I am seeing worst case ~8ms of latency in the 
95th percentile (meaning 95 percent of URLFetch requests are under 8ms). 
Note that we do not guarantee any specific SLA on latency.

- The App Engine Flexible environment uses Compute Engine 
<https://cloud.google.com/compute/> virtual machines that are behind their 
own gateway. I am seeing ~20ms serving latency for Flex apps in the US at 
the 99th percentile (meaning 99 percent of requests are under 20ms).

There are many factors in App Engine that can be slowing down your ping, 
such as instance startup time (based on your code and runtime), scaling 
settings 
<https://cloud.google.com/appengine/docs/standard/python/config/appref#scaling_elements>,
 
and instance class 
<https://cloud.google.com/appengine/docs/standard/#instance_classes>. Also 
your actual coding language adds to the ping time while it 
accepts/processes/and returns the request. Therefore, to get a more 
accurate ping for only the service-to-service communication time, you 
should do it by looking at the actual time your App Engine service accepted 
the request in the Logs Viewer 
<https://console.cloud.google.com/logs/viewer>. 

-- 
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/b0335619-c20c-4938-9994-76549c75f009%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to