Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

uuids can be generated by multiple services across your stack

bigserial must by generated by the db



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: