spec
spec copied to clipboard
Comparison to Firebase PushIDs
Google's Firebase Realtime DB uses a sortable unique identifier format, a JS implementation of which is available at https://gist.github.com/mikelehen/3596a30bd69384624c11
72 bit of randomness, but it doesn't collide if multiple IDs are generated within the same millisecond on the same machine, the last property is kind of cool and achieved rather simply.
A lot of ULID implementations do not follow this part of the spec, but ULID already does the simple randomness increment: https://github.com/ulid/spec#monotonicity
@mqudsi is correct:
- ULID's reference JS implementation already does this randomness increment
- lots of other implementations do not follow this part of the spec