F-ckin Leap Seconds, how do they work?

Robert E. Seastrom rs at seastrom.com
Wed Jul 4 13:48:30 UTC 2012


Tyler Haske <tyler.haske at gmail.com> writes:

> Someone running an NTP Server connected to a cesium clock could run
> the leap-second time code. Since its *their job* to have the correct
> time, they can do all the fancy rarely used things that make parts of
> the Internet die every couple of years.

Ah, Tyler, I see the problem here.

An NTP server is not like an XML-spitting web server which one
consults each and every time one wants to know a piece of data (for
instance a stock quote, the weather, or in this case, what time it
is).

NTP assumes a local clock, and the results of periodic queries to
higher-than-or-equal-to-local-stratum servers are used to _discipline_
the local clock, steering it to have minimal error.

Local clocks have to be consulted much too frequently (logging,
timestamping, etc) for "just put it in the cloud" to work.

You might want to read up on NTP (wikipedia provides a reasonable
introduction).

cheers,

-r






More information about the NANOG mailing list