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

Add monotonic entropy for ULIDs created in the same millisecond? #7

Closed
itdaniher opened this issue Jan 2, 2019 · 1 comment
Closed

Comments

@itdaniher
Copy link
Contributor

The latest version of the ULID spec suggests / recommends / requires the entropy to be incremented (by one) for each subsequent ULID creation in the same millisecond. This keeps ordering easy, but isn't necessarily ideal for some applications. The @oklog implementation of ULID functionality in Go increments by a random number for subsequent calls.

Bit of discussion at ahawker/ulid#306.

@akx
Copy link
Member

akx commented Jan 4, 2019

Closed via #8. Thanks!

@akx akx closed this as completed Jan 4, 2019
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

2 participants