Exercise: Measuring RTT with Ping

Round-trip-time

Just to recap the last lesson, the Round Trip Time of a connection is the amount of time it takes to send a packet and receive its acknowledgment.

The ping command can be used to measure the round-trip-time to send and receive packets from a remote host. We’re just pinging google from here because the location of the server that actually runs these commands from our website may change over time. However, if you try this locally, chose a remote destination which is far from your current location, e.g., a small web server in a distant country.

Checkout ping’s manpage for more details!

Pinging Google

Get hands-on with 1200+ tech skills courses.