I was going to post about "use a UUID", but I was surprised to learn that no UUID uses both timestamp + a random component. You can either get fully random with UUID4, or have a time + MAC based UUID with UUID1. Strange, I would have thought there would exist a UUID that uses time + random to minimize collisions like described in the post.
LAC-Tech|2 years ago
https://datatracker.ietf.org/doc/html/draft-peabody-dispatch...
It's a draft but there's a lot of implementations out there.
OJFord|2 years ago
wood_spirit|2 years ago
dtech|2 years ago
sethammons|2 years ago
Go implementation: https://github.com/segmentio/ksuid
zote|2 years ago
nabogh|2 years ago
unknown|2 years ago
[deleted]