Index

DSUID

Distributed Sortable Unique Identifiers: a small npm package for time-sortable IDs that can be generated on many machines at once.

Client
npm package
Year
2021
Discipline
DSUID cover: the project name set in Google Sans on a black grid

DSUID generates unique IDs that sort by creation time and can be produced independently on many machines. Each ID is created within a namespace: const id = dsuid('somenamespace').

The design draws on Instagram's approach to sharded ID generation and other distributed sequence-number generators. Published on npm under the MIT licence.

Next project