WebPagetest Forums
Initial connection time very high for Mumbai, India - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: Initial connection time very high for Mumbai, India (/showthread.php?tid=16183)



Initial connection time very high for Mumbai, India - onlinefmradio - 09-04-2020 04:01 AM

My website is hosted in LA and I am using BunnyCDN to deliver static contents of the website.
I tested the website from many locations and found that Initial Connection is very high for Mumbai (2-15 seconds). For all other places in the world, the initial connection time is <300 ms. So, I do not think there is any issue with my server.
What could be the problem with testing from Mumbai, India?

URL: https://www.discoverbits.in/
Loaded By: https://static.discoverbits.in/qa-content/qa-global.js?1.8.5:
Host: http://www.discoverbits.in
IP: 23.234.209.227
Error/Status Code: 200
Priority: HIGHEST
Protocol: HTTP/2
HTTP/2 Stream: 1, weight 256, depends on 0, EXCLUSIVE
Request ID: 81DC59C15B68924A83B8E2EE1E15DA09
Client Port: 33264
Discovered: 0.005 s
Request Start: 2.331 s
DNS Lookup: 30 ms
Initial Connection: 1272 ms
SSL Negotiation: 1022 ms
Time to First Byte: 291 ms
Content Download: 35 ms
Bytes In (downloaded): 6.4 KB
Uncompressed Size: 49.9 KB
Bytes Out (uploaded): 1.7 KB



RE: Initial connection time very high for Mumbai, India - pmeenan - 09-04-2020 11:30 PM

Do you have a link to the actual test? If there was a bunch of other network activity going on at the time it is possible that the connection setup was stuck behind a bunch of other in-flight data.


RE: Initial connection time very high for Mumbai, India - onlinefmradio - 09-05-2020 01:52 AM

Here is the link: https://www.webpagetest.org/result/200903_AD_0f409e60534ce4a2d109f44f2c6119df/2/details/#waterfall_view_step1


RE: Initial connection time very high for Mumbai, India - pmeenan - 09-05-2020 04:57 AM

Ouch. No contention since it was the first request. Not sure what happened at the time since it looks better now: https://www.webpagetest.org/result/200904_1Q_1b9d11fe2b88400c1a36462d4d7e5f70/1/details/#waterfall_view_step1

~500ms will be as fast as it can get without a CDN since the RTT's from India to the US is ~240ms.

It was the www domain that was slow to connect, not the static so it is going all the way to your origin.


RE: Initial connection time very high for Mumbai, India - onlinefmradio - 09-05-2020 10:32 AM

I have a CNAME record for www domain.
So, should I create an A record for www domain?


RE: Initial connection time very high for Mumbai, India - pmeenan - 09-06-2020 01:26 AM

No, the DNS lookup time was not slow, just the actual connect. A record or CNAME will still result in the same IP address that it tries to connect to.