Four timestamps
03Two local timestamps and two remote timestamps let a client separate server processing time from network travel.
The client measures T4 locally and now has the four timestamps needed for calculation.
Key idea: Record each boundary with the correct clock.
Rules & examples
Record each boundary with the correct clock.
- T1 and T4 are measured by the client; T2 and T3 by the server.
- The reply returns the original request timestamp along with the server receive and transmit timestamps.
- The destination timestamp is captured locally on receipt, rather than being trusted from the server.
The two lifelines show the client and server clocks; T1 through T4 mark send and receive events. Timestamp placement near packet transmission and reception reduces avoidable measurement error.
Sources
New to this? Start hereA quick picture + helpful background
Two clocks may disagree.
A device compares timestamps with another clock. Network delay makes that comparison imperfect. The drawing separates the clock reading from the trip the message takes.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.