Round trip time(RTT) is the length of time it takes for a signal to be sent plus the length of time it takes for an acknowledgement of that signal to be received. This time therefore consists of the propagation times between the two point of signal.
On the Internet, an end user can determine the RTT to and from an IP(Internet Protocol) address by pinging that address. The result depends on various factors :-
- The data rate transfer of the source’s internet connection.
- The nature of transmission medium.
- The physical distance between source and destination.
- The number of nodes between source and destination.
- The amount of traffic on the LAN(Local Area Network) to which end user is connected.
- The number of other requests being handled by intermediate nodes and the remote server.
- The speed with which intermediate node and the remote server function.
- The presence of Interference in the circuit.
Input : www.geeksforgeeks.org Output : Time in seconds : 0.212174892426 Input : www.cricbuzz.com Output : Time in seconds : 0.55425786972
Time in seconds :0.0579478740692
This article is contributed by Pramod Kumar. If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
- Python program to calculate age in year
- Program to Calculate Body Mass Index (BMI)
- Python | Program to generate one-time password (OTP)
- Time Functions in Python | Set 1 (time(), ctime(), sleep()...)
- Python program to convert time from 12 hour to 24 hour format
- round() function in Python
- Python | Pandas Series.round()
- Python | Pandas dataframe.round()
- Python | Pandas DatetimeIndex.round()
- Python | Pandas TimedeltaIndex.round
- Python | Pandas Timestamp.round
- Calculate n + nn + nnn + ... + n(m times) in Python
- Python | Calculate geographic coordinates of places using google geocoding API
- Python | Calculate distance and duration between two places using google distance matrix API
- Python | Pandas Series.mad() to calculate Mean Absolute Deviation of a Series