News for hackers. Stuff that matters.
Re:Getting to know logical clocks by implementing them by manmal on Saturday July 03, 2021 @03:56AM (#27720068)
I think leap seconds and other time strangeness would prevent physical clocks from being totally reliable. AFAIK time is now implemented as being always monotonous, but you could get the same timestamp for multiple actions which are actually executed sequentially. Incrementing the local logical clock on every action is guaranteed to be safe.
Re:Getting to know logical clocks by implementing them by zh3 on Saturday July 03, 2021 @04:47AM (#27720250)
> ...leap seconds and other time strangeness would prevent physical clocks from being totally reliable

That's why we have TAI[0]

[0]https://en.wikipedia.org/wiki/International_Atomic_Time

Re:Getting to know logical clocks by implementing them by manmal on Saturday July 03, 2021 @08:25AM (#27721150)
Neat, TIL. You can still have multiple actions happen at the same time increment with multi threading.