Skip to content

Commit debf27f

Browse files
craig[bot]stevendanna
andcommitted
Merge #149518
149518: rpc: replace dead link with reference r=tbg a=stevendanna The paper is still listed on the author's institution's publication website but without a download link and under a slightly different title. It is also available for purchase from the IEEE. I am curious how this approach compares in practice to the 4-timestamp approach used in NTP. Epic: none Release note: None Co-authored-by: Steven Danna <[email protected]>
2 parents 7b9fd1a + c04ce9a commit debf27f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

pkg/rpc/clock_offset.go

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,10 +441,15 @@ func updateClockOffsetTracking(
441441
var offset RemoteOffset
442442
if pingDuration <= maximumPingDurationMult*toleratedOffset {
443443
// Offset and error are measured using the remote clock reading
444-
// technique described in
445-
// http://se.inf.tu-dresden.de/pubs/papers/SRDS1994.pdf, page 6.
446-
// However, we assume that drift and min message delay are 0, for
447-
// now.
444+
// technique described in section 3.1 of
445+
//
446+
// F. Cristian and C. Fetzer, "Probabilistic internal clock
447+
// synchronization," in Proceedings of IEEE 13th Symposium on Reliable
448+
// Distributed Systems, Dana Point, CA, USA, 1994
449+
//
450+
// However, we assume that drift and min message delay are 0, for now and,
451+
// as a result, the transmission delay from the remote node to our node is
452+
// half the ping duration.
448453
offset.MeasuredAt = receiveTime.UnixNano()
449454
offset.Uncertainty = (pingDuration / 2).Nanoseconds()
450455
remoteTimeNow := serverTime.Add(pingDuration / 2)

0 commit comments

Comments
 (0)