uuid7 - indexable and time sortable

50 nanosecond resolution

  ·   1 min read

Whenever I think about uuids, my mind goes immediately to uuid4. It is somewhat of a developer’s default choice for generating unique identifiers. Given it’s almost negligible chance of a collision, it fits most use cases.

Today I found out about https://uuid7.com/, which offers a precise timestamp, up to 50 nanosecond resolution.

This site mentions use cases for different uuid versions: https://www.ntietz.com/blog/til-uses-for-the-different-uuid-versions/

Snowflakes #

This reminded me of Discord’s snowflakes.