simpleflake
tsid-creator
Our great sponsors
simpleflake | tsid-creator | |
---|---|---|
1 | 3 | |
178 | 409 | |
0.0% | 6.2% | |
0.0 | 6.9 | |
over 4 years ago | 28 days ago | |
Python | Java | |
GNU General Public License v3.0 or later | MIT License |
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...
tsid-creator
- TSID Creator: A Java Library for Generating Time-Sorted Unique Identifiers
- TSID Creator: A Java library for generating Time-Sorted Unique Identifiers (TSID).
-
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
ulid-creator - A Java library for generating Universally Unique Lexicographically Sortable Identifiers (ULID)
UUID - :snowflake: A PHP library for generating universally unique identifiers (UUIDs).
uuid-creator - A UUID library for Java.
ksuid - Java implementation of K-Sortable Globally Unique IDs
spec - The canonical spec for ulid
jnanoid - A unique string ID generator for Java.
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
uuid-list - list of unique id implementations, design considerations, and resources.