TIL: Versions of UUID and when to use them

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. DistorteD

    Ruby multimedia toolkit with deep Jekyll integration 🧪

    > UUID Version 2 (v2) is reserved for security IDs with no known details.

    Only no known details if the only document you're reading is the notoriously poorly-specified RFC. Here you go: https://pubs.opengroup.org/onlinepubs/9696989899/chap5.htm#t...

    There are also “version 0” UUIDs that you are very unlikely to ever come across but should be noted because they are the source of the reserved bits that allow the other “versions” to be specified. Read my research about them here in my UUID library: https://github.com/okeeblow/DistorteD/blob/NEW%E2%80%85SENSA...

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. sqids-blocklist

    Words that we do not want to appear in Sqids IDs

    Sqids[1] might fit the bill for you - the IDs it produces are much shorter than UUIDs, however they're not universally unique - they're generated from an integer sequence.

    1. https://sqids.org/

  4. sqids-php

    Official PHP port of Sqids. Generate short unique IDs from numbers.

  5. nanoid

    A tiny (118 bytes), secure, URL-friendly, unique string ID generator for JavaScript

  6. snowflake

    Discontinued Snowflake is a network service for generating unique ID numbers at high scale with some simple guarantees.

    If you're not distributed, use an incrementing integer.

    If you're distributed, look into vector clocks[1] or snowflake[2]

    [1] https://en.wikipedia.org/wiki/Vector_clock

    [2] https://github.com/twitter-archive/snowflake/tree/snowflake-...

  7. databend

    Data Agent Ready Warehouse : One for Analytics, Search, AI, Python Sandbox. — rebuilt from scratch. Unified architecture on your S3.

    UUID v7's timestamp is a game-changer for Databend. We're using it to quickly locate metadata files on AWS S3 by timestamp, making operations like vacuuming much faster.

    PR: https://github.com/datafuselabs/databend/pull/16049

  8. draft-yocto-uuid

    The UUID Standard.

    We are starting work on an informational RFC that will help folks understand those.

    See https://github.com/yocto/draft-yocto-uuid if you want to add to some discussions and/or review text. We are still a bit early into the stages but I hope to have some progress soon.

  9. new-uuid-encoding-techniques-ietf-draft

    Alternate UUID Encoding Techniques

    We are working on standardizing an alternate encoding technique for the 128 bit UUID so it can have a shorter text form.

    You can the discussions here: https://github.com/uuid6/new-uuid-encoding-techniques-ietf-d...

  10. We are working on standardizing an alternate encoding technique for the 128 bit UUID so it can have a shorter text form.

    You can the discussions here: https://github.com/uuid6/new-uuid-encoding-techniques-ietf-d...

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

Did you know that Rust is
the 3rd most popular programming language
based on number of references?