Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Differences from UUIDv1? #23

Closed
danielyli opened this issue Jan 19, 2019 · 1 comment
Closed

Differences from UUIDv1? #23

danielyli opened this issue Jan 19, 2019 · 1 comment

Comments

@danielyli
Copy link

How is this proposal different from UUIDv1?

RFC 4122, Section 4.1.4 specifies the first 60 bits of a UUID to hold a time stamp, and Section 4.5 specifies the remaining bits in the absence of a network address.

Proposing an alternative (and non-standardized) ID system will only fragment usage.

@RobThree
Copy link

RobThree commented May 28, 2019

How is this proposal different from UUIDv1?

Well, for one, it uses 40 bits for the timestamp as opposed to 60 bits; you pointed that out yourself. Another difference is that it doesn't bother with a MAC address (even though a UUIDv1 doesn't require one either). Yet another difference is it's 'notation'; where UUID's use hex, ULID's use the (slightly more efficient) Base32 notation (with or without hyphens is not yet clear).

I agree with your 'yet another standard' sentiment, but on the other hand we shouldn't be afraid to introduce better / different standards if they improve upon other standards or improve something in general.

@alizain alizain closed this as completed Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants