blog-2024-07-02
via [PostgreSQL and UUID as primary key](https://maciejwalkowiak.com/blog/postgres-uuid-primary-key/) i stumbled upon [TSID Generator](https://github.com/vladmihalcea/hypersistence-tsid), which looks interesting:
> A Java library for generating Time-Sorted Unique Identifiers (TSID).
> ...
> In summary:
>
> Sorted by generation time;
> It can be stored as an integer of 64 bits;
> It can be stored as a string of 13 chars;
> String format is encoded to Crockford's base32;
> String format is URL safe, is case insensitive, and has no hyphens;
> Shorter than UUID, ULID and KSUID.
edited by: stefs at Saturday, July 6, 2024, 10:46:33 AM Coordinated Universal Time
view