Hi Ryan
High latency in application could happen for many reasons. In most cases, it could be related to the geographical locations. Could you please elaborate how do you make sure that it is not for the distance of the server? I would recommend to use ‘traceroute’ to find more details regarding each path which is taking more significant amount of time. If you use HTTPS or a custom domain then compare latency with HTTP requests to your appspot.com domain to isolate whether the latency is caused by these factors. Also please check if there are any bandwidth limitations,could be in local ISP, between your clients and Google. I have found this blog <https://cloudplatform.googleblog.com/2015/08/How-to-Troubleshoot-Latency-in-Your-App-Engine-Application.html> post helpful for latency troubleshooting, you can check this too. On Monday, October 1, 2018 at 2:57:39 PM UTC-4, Ryan Sacha wrote: > > I can't figure out why when i curl to my service the response fluctuates > from a minimum of 400ms upto 1 second and beyond for a simple request that > literally just returns a json response. (no db calls, or anything) even > static files take >400ms. > > In fact i went to the logs and indeed the server only takes 4ms at max. > but when a user requests the url it takes a long time. > > [image: 10-01_18-19-40.png] > > What am i missing here? > > Avg response: > > [image: 10-01_18-20-34.png] > > > This is not just due to my distance to the server, i'm totally fine with > 100ms due to normal network latency. > > > *App.yaml:* > > > runtime: nodejs > > env: flex > > service: default > > > manual_scaling: > > instances: 1 > > resources: > > cpu: 1 > > memory_gb: 1.5 > > disk_size_gb: 10 > > network: > > name: default > > > > -- 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/f8bad197-f026-4cab-bf61-643bc92a1854%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.