Evan Jones personal blog

Nanosecond timestamp collisions are common

I was wondering: how often do nanosecond timestamps collide on modern systems? The answer is: very often, like 5% of all samples, when reading the clock on all 4 physical cores at the same time. As a result, I think it is unsafe to assume that a raw nanosecond timestamp is a unique identifier.
Points
316
HN comments
286
Submissions
1
Cited by
0 commenters

Systems & Performance2023

On Hacker News

SubmittedTitle on HNPointsComments
Jul 21, 2023Nanosecond timestamp collisions are common by ingve316286

More from Evan Jones

All 11 posts →

Related posts from the same era