Measure latency and trace routes
Updated 27 Nov 2026 latency ping mtr
Measure the delay between your users and your server before you commit.
Ping
ping -c 20 example.com
Look at the average time and packet loss. Some hosts ignore ping, so silence alone proves little.
mtr: ping and traceroute together
sudo apt install -y mtr-tiny
mtr -rwzc 100 example.com
Loss that appears at one hop and not later ones is usually that router limiting replies. Loss that continues to the destination matters.
Test in both directions
Run mtr from your server to a user's network and, if possible, from there to your server.
Application timing
curl -o /dev/null -s -w 'dns %{time_namelookup}\nconnect %{time_connect}\ntls %{time_appconnect}\nfirst byte %{time_starttransfer}\ntotal %{time_total}\n' https://example.com
What affects India to Sydney
Distance sets a floor on delay. Keep round trips low: reuse connections, put static files on a content delivery network and avoid chains of small requests.