A 17 character ULID generator capable of monotonicity.
0gzfy095vgvrdcc_o
0gzfy0g0837o0rte6
- Timestamp
- 46 bits precision, lasting until
4199-11-24T01:22:57.663Z
- encoded in 9 characters
- 46 bits precision, lasting until
- Random data
- encoded in 8 characters
- 265K IDs needed in order to have a 1% probability of at least one collision for each millisecond
- Monotonicity
- this can benefit of some upgrades, currently it just alphabetically increases by 1 until the next millisecond hits
- Lexicographically sortable
- Time-based sort order
- Can be used as a better UUID for most usecases