tsid-creator
simpleflake
Our great sponsors
tsid-creator | simpleflake | |
---|---|---|
3 | 1 | |
409 | 178 | |
6.8% | 0.0% | |
6.9 | 0.0 | |
29 days ago | over 4 years ago | |
Java | Python | |
MIT License | 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.
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
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...
What are some alternatives?
ulid-creator - A Java library for generating Universally Unique Lexicographically Sortable Identifiers (ULID)
uuid - Generate RFC-compliant UUIDs in JavaScript
uuid-creator - A UUID library for Java.
UUID - :snowflake: A PHP library for generating universally unique identifiers (UUIDs).
ksuid - Java implementation of K-Sortable Globally Unique IDs
jnanoid - A unique string ID generator for Java.
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.
uuid-list - list of unique id implementations, design considerations, and resources.
ulid - Universally Unique Lexicographically Sortable Identifier (ULID) in Python 3