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

Investigate ULID/UUIDv7 As replacement for UUIDv4 #476

Open
leighmacdonald opened this issue May 6, 2024 · 0 comments
Open

Investigate ULID/UUIDv7 As replacement for UUIDv4 #476

leighmacdonald opened this issue May 6, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@leighmacdonald
Copy link
Owner

There is some negatives to performance associated with UUIDv4 keys due to their use of randomness. ULID and UUIDv7 offer some improvements over this which improve indexing performance.

Our current use of UUIDv4, however, is quite limited and only really used to prevent basic enumeration attacks for a select few endpoints, so the effort involved may not be worth it.

As far as i understand both are able to be used as a drop in replacement for the 128 bit uuid type, but needs more investigation/testing to verify this claim.

Very good chance this is not worth the effort involved due to our, currently at least, limited rows using these as primary keys.

@leighmacdonald leighmacdonald added the enhancement New feature or request label May 6, 2024
@leighmacdonald leighmacdonald added this to the v0.9.0 milestone Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant