Open In App

What is RTT(Round Trip Time)?

Improve
Improve
Like Article
Like
Save
Share
Report

RTT (Round Trip Time) also called round-trip delay is a crucial tool in determining the health of a network. It is the time between a request for data and the display of that data. It is the duration measured in milliseconds. 

RTT can be analyzed and determined by pinging a certain address. It refers to the time taken by a network request to reach a destination and to revert back to the original source. In this scenario, the source is the computer and the destination is a system that captures the arriving signal and reverts it back. 

RTT(Round Trip Time) Measurement

RTT(Round Trip Time) Measurement

What Are Common Factors that Affect RTT?

There are certain factors that can bring huge changes in the value of RTT. These are enlisted below:

  • Distance: It is the length in which a signal travels for a request to reach the server and for a response to reach the browser,
  • Transmission medium: The medium which is used to route a signal, which helps in faster transfer of request is transmitted.
  • Network hops: It is the time that servers take to process a signal, on increasing the number of hops, RTT will also increase.
  • Traffic levels: Round Trip Time generally increases when a network is having huge traffic which results in that, for low traffic RTT will also be less.
  • Server response time: It is the time taken by a server to respond to a request which basically depends on the capacity of handling requests and also sometimes on the nature of the request.

Applications of RTT

Round Trip Time refers to a wide variety of transmissions such as wireless Internet transmissions and satellite transmissions. In Internet transmissions, RTT may be identified by using the ping command. In satellite transmissions, RTT can be calculated by making use of the Jacobson/Karels algorithm. 

Advantages of RTT

Calculation of RTT is advantageous because:

  1. It allows users and operators to identify how long a signal will take to complete the transmission.
  2. It also determines how fast a network can work and the reliability of the network.

Example: Let us assume there are two users, one of which wants to contact the other one. One of them is located in California while the other one is situated in Germany. When the one in California makes the request, the network traffic is transferred across many routers before reaching the server located in Germany. Once the request reverts back to California, a rough estimation of the time taken for this transmission could be made. This time taken by the transmitted request is referred to as RTT. The Round Trip Time is a mere estimate. The path between the two locations can change as the passage and network congestion can come into play, affecting the total period of transmission. 

How Does Round-Trip Time Work?

Consider a topology where an appliance named “Exinda” is located between the client and the server. The diagram shown below depicts how the concept of RTT works: 

RTT Calculation

RTT Calculation

 
For the calculation of Average RTT, RTTS for server and client needs to be calculated separately. The performed calculations are shown below:

Server RTT:

RTT1 = T2 – T1

RTT2 = T5 – T4

Client RTT:

RTT3 = T3 – T2

RTT4 = T7 – T6 

Average RTT:

Avg Server RTT = (RTTs1 + RTTs2) / 2

Avg Client RTT = (RTTc1 + RTTc2) / 2

Avg Total RTT = Avg Server RTT + Avg Client RTT 

You can refer to the Program to calculate RTT for more details.

Measures To Reduce RTT

 A significant reduction in RTT can be made using Content Delivery Network (CDN). A CDN refers to a network of various servers, each acquiring a copy of the content on a particular website. It addresses the factors affecting RTT in the enlisted ways:

  • Points of Presence (PoP)
  • Web caching
  • Load distribution
  • Scalability
  • Tier 1 access 

CDN has been largely successful in reducing the value of RTT and due to this, a decrease in RTT by 50% is achievable.


Last Updated : 13 Apr, 2023
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads