3 ms·
Reminds me of a problem I ran into once where someone had wanted unique but short codes as identifiers for relatively small counts, and picked a substring of a
by nopassrecover 1y ago
Reminds me of a problem I ran into once where someone had wanted unique but short codes as identifiers for relatively small counts, and picked a substring of a UUID:
http://mattmitchell.com.au/birthday-problems-friendly-identifiers-and-mongodb/ http://mattmitchell.com.au/birthday-problems-friendly-identi...
- kr2 1y ago> However, the overall takeaway was: Don’t use the MongoDB Increment value as a Unique Identifier. However, the overall takeaway should be, as always: don't use MongoDB. Period. Every time I learn something new about it I'm baffled about why people continue to use it.