nanog mailing list archives
Re: Leap Second planned for 2016
From: Saku Ytti <saku () ytti fi>
Date: Sun, 10 Jul 2016 11:27:33 +0300
On 10 July 2016 at 00:12, <Valdis.Kletnieks () vt edu> wrote:
It doesn't help that the POSIX standard doesn't represent leap seconds anyplace, so any elapsed time calculation that crosses a leap second is guaranteed to be wrong....
So how can we solve the problem? Immediately and long term? a) use UTC or unix time, and accept that code is broken b) migrate to CLOCK_MONOTONIC, and accept that epoch is unknown (you cannot serialise clock and consume it in another system) c) use NTP smear to make clocks run incorrectly to hide the problem d) use GPSTIME or TAI and implement leaps at last possible moment (at the presentation layer) e) wait for 2023 and hope the problem goes away -- ++ytti
Current thread:
- Re: Leap Second planned for 2016, (continued)
- Re: Leap Second planned for 2016 Harlan Stenn (Jul 08)
- Re: Leap Second planned for 2016 Patrick W. Gilmore (Jul 08)
- Re: Leap Second planned for 2016 Chris Adams (Jul 08)
- Re: Leap Second planned for 2016 Eric S. Raymond (Jul 09)
- Re: Leap Second planned for 2016 A . L . M . Buxey (Jul 09)
- Re: Leap Second planned for 2016 Saku Ytti (Jul 09)
- Falsehoods programmers believe about time, etc (was Re: Leap Second planned for 2016) Jay R. Ashworth (Jul 10)
- Re: Leap Second planned for 2016 Saku Ytti (Jul 09)
- Re: Leap Second planned for 2016 Valdis . Kletnieks (Jul 09)
- RE: Leap Second planned for 2016 Keith Medcalf (Jul 09)
- Re: Leap Second planned for 2016 Saku Ytti (Jul 10)
- Re: Leap Second planned for 2016 Steve Allen (Jul 10)
- Re: Leap Second planned for 2016 Mikael Abrahamsson (Jul 10)
- Re: Leap Second planned for 2016 Jimmy Hess (Jul 10)