I am trying to get a sense of the different networking metrics and specifically those that are about time. I find myself lost in definitions though. From the research I have done so far I found some contradictions in the definitions depending on the source but here is what I settled on (might be wrong!!):
Latency : The time it takes a packet to reach the destination from let's say the client or to put it simply travel time.
Round Trip Time (RTT) : The time it takes a request to reach the destination and return back to the client.
Response Time : The time it takes a request to reach the destination get processed and the result of the processing to the client.
So my questions are:
- Is RTT just 2 x latency?
- What is the difference between RTT and response time? It seems to me they are the same thing.
- How are the latency and the RTT calculated? How is the processing time eliminated from the response time, which is relatively easy to measure?
- And finally the question that all of the above originated from. When using the ping command the time displayed is Latency RTT or Response time?
Sorry for the many questions but they are all related to each other so I feel I shouldn't split them into multiple posts.