How to decrease the latency

How to decrease the latency of my site, even testing via ping using the CDN Cloude Flare ?

I am using the mochahost server and there my ping from here on my notebook to mochahost is giving me almost 10ms. See.
ping mochahost.com
PING mochahost.com (104.20.31.20): 56 data bytes
64 bytes from 104.20.31.20: icmp_seq=0 ttl=56 time=12.685 ms
64 bytes from 104.20.31.20: icmp_seq=1 ttl=56 time=9.665 ms

But, when I try do the same ping from the same local notebook and from the same internet connection as shown before to my site that is hosted ther on mochahost my latency is not so good.
ping cratirador.com
PING cratirador.com (50.31.134.11): 56 data bytes
64 bytes from 50.31.134.11: icmp_seq=0 ttl=51 time=155.268 ms
64 bytes from 50.31.134.11: icmp_seq=1 ttl=51 time=157.084 ms

How can I configure my CDN so that I can reach my latency target ? Between 10ms until 35ms.

Thank You!!!

I see the same latency for both domains ~= 34ms
mochahost.com could have Pro+ plan and that could change PoP availability.

Where are you located?

ping6 mochahost.com
16 bytes from 2606:4700:10::6814:1e14, icmp_seq=0 hlim=57 time=34.559 ms
16 bytes from 2606:4700:10::6814:1e14, icmp_seq=1 hlim=57 time=34.116 ms

ping6 cratirador.com
16 bytes from 2606:4700:30::6812:3d62, icmp_seq=0 hlim=57 time=34.693 ms
16 bytes from 2606:4700:30::6812:3d62, icmp_seq=1 hlim=57 time=35.086 ms

Rio de Janeiro, Brazil
Here they are ot the same latency. See
PING www.cratirador.com (104.18.61.98): 56 data bytes
64 bytes from 104.18.61.98: icmp_seq=0 ttl=55 time=131.827 ms
64 bytes from 104.18.61.98: icmp_seq=1 ttl=55 time=133.563 ms
64 bytes from 104.18.61.98: icmp_seq=2 ttl=55 time=136.137 ms

PING www.mochahost.com (104.20.30.20): 56 data bytes
64 bytes from 104.20.30.20: icmp_seq=0 ttl=56 time=10.503 ms
64 bytes from 104.20.30.20: icmp_seq=1 ttl=56 time=9.413 ms
64 bytes from 104.20.30.20: icmp_seq=2 ttl=56 time=12.006 ms

Thank You

IP address reported in your ping of cratirador.com doesn’t seem to be Cloudflare IP, so you’re bypassing Cloudflare Proxy/DNS for that ping test it seems

Visit here, and see if colo= are the same:

https://mochahost.com/cdn-cgi/trace
https://cratirador.com/cdn-cgi/trace

Also, flush your DNS cache in your machine

Sorry!
I fixed it.
Here they are ot the same latency. See
PING www.cratirador.com (104.18.61.98): 56 data bytes
64 bytes from 104.18.61.98: icmp_seq=0 ttl=55 time=131.827 ms
64 bytes from 104.18.61.98: icmp_seq=1 ttl=55 time=133.563 ms
64 bytes from 104.18.61.98: icmp_seq=2 ttl=55 time=136.137 ms

PING www.mochahost.com (104.20.30.20): 56 data bytes
64 bytes from 104.20.30.20: icmp_seq=0 ttl=56 time=10.503 ms
64 bytes from 104.20.30.20: icmp_seq=1 ttl=56 time=9.413 ms
64 bytes from 104.20.30.20: icmp_seq=2 ttl=56 time=12.006 ms

Thank You

Must be it. See the results from here:

fl=101f18
h=mochahost.com
ip=201.17.79.97
ts=1540260326.388
visit_scheme=https
uag=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36
colo=GIG
spdy=h2
http=h2
loc=BR
tls=TLSv1.3
sni=plaintext

fl=16f149
h=cratirador.com
ip=201.17.79.97
ts=1540260327.634
visit_scheme=https
uag=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36
colo=IAD
spdy=h2
http=h2
loc=BR
tls=TLSv1.3
sni=plaintext

mochahost.com
Rio de Janeiro, Brazil - (GIG)

cratirador.com
Ashburn, VA, United States - (IAD)

I check a Pro plan domain and is serving from:
São Paulo, Brazil - (GRU)

It has to do with the plan you have with Cloudflare. Possible mochahost.com has Pro or Business.
It is getting better every day. Today, Cloudflare announced Peering Portal.

1 Like

Thank You so much!
I will see.

According to another thread (I’d have to dig for it), the POP limitations on lower plans has been lifted…for now. I haven’t tested this, but I expect Brazil should now route through the nearest datacenter.

It could be temporary, related to global traffic and peering. Several regions (Europe, New Zealand, North America) I see all the plans in PoPs very close to the client, but not in Brazil at the moment.

Found it:

Yes, I raised that topic. It might be just temporary.

Oh…yeah…how 'bout that! Let’s hope it’s not temporary and all the peering efforts finally pay off for all of us.

This topic was automatically closed after 30 days. New replies are no longer allowed.