3 ms·
I don't see how a distributed system is an "extreme condition". If you don't have distributed ID generation, why not use an auto incrementing u64 and call it a
by j-pb 6y ago
I don't see how a distributed system is an "extreme condition".
If you don't have distributed ID generation, why not use an auto incrementing u64 and call it a day?
- Vanderson 6y agoI will have at most 100 users generating an ID in a day (on the project I am using ULIDs with). The possibility of them having a conflict with generating the ULID is so low that I don't even consider it a concern. So, "extreme condition" is one where someone could actually generate a conflict. A realm of production I don't work in. (maybe Twitter/Facebook would have this problem) Therefore, I feel an easier to use/work with UID like ULID is both reasonable and preferable over other options.
- deleted 6y ago[deleted]