Hacker News new | ask | show | jobs
by manmal 1816 days ago
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.
1 comments

> ...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

Neat, TIL. You can still have multiple actions happen at the same time increment with multi threading.