Sébastien Rigaux

Cuid2: identifiers built for distributed generation

View resource

github.com

Cuid2 generates non-sequential identifiers without coordination between machines, including when offline. The repository explains how its design aims to reduce collisions while concealing host and creation-time details.

Each ID combines sources including random values, a timestamp, a session counter, and a host fingerprint, then hashes them with SHA-3. ID length is configurable; the project advises against using it for sequential IDs or very tight loops.

GitHub banner for the paralleldrive/cuid2 repository, showing its collision-resistance and horizontal-scaling tagline, along with contributor, issue, star, and fork counts.