<p>I have created kubernetes cluster in Europe region [europe-west2] and i have deployed simple app on it. I have configured nginx ingress to access the website. when i am accessing my website from India location, it is taking too much time to open (6 to 8 sec) while it's opening from europe within 300 to 500ms. i can't understand logic behind that,I don't have any heavy content on the website. i have also check latency of google provided by google (<a href="http://www.gcping.com/" rel="nofollow noreferrer">http://www.gcping.com/</a>) and as per gcp ping check it should 353ms. Can anybody help me to resolve the latency issue of my site?</p>

Vishal Vyas
<p>Did you have a chance to check <a href="https://cloud.google.com/load-balancing/docs/tutorials/optimize-app-latency" rel="nofollow noreferrer">this</a> GCP tutorial, on how to measure properly app latency depending on specific load balancer used ?</p>

<p>Worth to mention here, that your scenario falls into app with "HTTP(S)/TCP/SSL Proxy Load Balancing" category (GCE Ingress Controller creates HTTP Loadbalancer front-end for you Ingress -> Service -> Pod (Application))</p>

<p>You mentioned you use PING for testing your app latency, according to the GCP tutorial, a Time To First Byte (TTFB) method should be used with curl command, when testing HTTP request to Web servers (exact command to be found in the link I shared).</p>

<p>You may also use <a href="https://cloud.google.com/trace/docs/quickstart" rel="nofollow noreferrer">Stackdriver Trace</a> to drill down to detailed latency data (on GKE workloads you need to use client libraries to generate them)</p>

<p>I hope this will help you to move further with this.</p>
