Time Collisions
In his awesome book "Designing Data-Intensive Applications" :heart:, Martin Kleppmann explains and demonstrates the dangerousness of relying on timestamps to synchronize events (section "Relying on Synchronized Clocks", p.291). :clock10:
Whoever uses timestamps to generate (expected) unique identifiers :id: will be exposed to the same issues.
Even if it seems obvious, some people still refuse to admit it [^1]. :confused:
In order to demonstrate that timestamp-based identifiers generation inevitably leads to collisions :collision:, I wrote a simple program in R beloved :heart_eyes: language.
The full code can be found at the end of the post.