whats the best sortable id implementation in java
title. usually i use a ksuid but there doesn't seem to be an implementation in java that isn't from some randoms open source repo. want something on maven that ideally is maintained by someone reputable
9 Replies
⌛
This post has been reserved for your question.
Hey @mmacheerpuppy! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
What sortable id thing do you want/need?
i basically want a ULID
or a KSUID
but i cant find an implementation of ULID or ksuid thats not \by some random dude with sub 200 stars : https://github.com/ksuid/ksuid
GitHub
GitHub - ksuid/ksuid: K-Sortable Globally Unique IDs for Java
K-Sortable Globally Unique IDs for Java. Contribute to ksuid/ksuid development by creating an account on GitHub.
id rather it be backed by a whole vendor
ah, I just implemented discords snowflake myself at some point
No need to overly complicate it imho
yea maybe, i just dont like this idea of trusting non vendors
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.