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
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 21, 2023 | Nanosecond timestamp collisions are common by ingve | 316 | 286 |