Hacker News new | ask | show | jobs
by nextaccountic 244 days ago
uuids can be generated by multiple services across your stack

bigserial must by generated by the db

1 comments

But what if we just use milliseconds as our bigserial? And maybe add some hw-random number at the end to avoid conflicts? Wait
Somehow +1 on this comment just doesn't feel like enough.
Oh yeah, it would be an identifier but it would be unique. Across the universe of all devices, effectively. Should come up with a name for that