simpleflake
ksuid
Our great sponsors
simpleflake | ksuid | |
---|---|---|
1 | 2 | |
178 | 41 | |
0.0% | - | |
0.0 | 0.0 | |
over 4 years ago | over 2 years ago | |
Python | Java | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
simpleflake
-
Sortable Collision-Free UUIDs
I've used something very similar in the past, called SimpleFlake[0], which is essentially a 64 bit version with the same principles. I've used it in Lisp, C, C++, Clojure, Python, and Rust. It's conceptually simple, and fits in a 64bit int, which is natively available in a lot of databases.
[0] SimpleFlake - https://github.com/SawdustSoftware/simpleflake/blob/f2b51f76...
ksuid
-
ksuid VS ksuid-creator - a user suggested alternative
2 projects | 26 Sep 2021
-
Sortable Collision-Free UUIDs
I started looking into TSID/KSUID/ULID in order to support cursor based pagination schemes in GraphQL against non-integer based unique id fields (such as uuids or unique string ids).
A couple of notable Java libs:
https://github.com/f4b6a3/ulid-creator
https://github.com/f4b6a3/tsid-creator
https://github.com/akhawaja/ksuid
What are some alternatives?
uuid - Generate RFC-compliant UUIDs in JavaScript
tsid-creator - A Java library for generating Time-Sorted Unique Identifiers (TSID).
UUID - :snowflake: A PHP library for generating universally unique identifiers (UUIDs).
ksuid-creator - A Java library for generating KSUIDs (K-Sortable Unique Identifier).
spec - The canonical spec for ulid
spec - The Score Specification provides a developer-centric and platform-agnostic Workload specification to improve developer productivity and experience. It eliminates configuration inconsistencies between environments.
ulid - Universally Unique Lexicographically Sortable Identifier (ULID) in Python 3