• 0 Posts
  • 27 Comments
Joined 1 year ago
cake
Cake day: July 25th, 2023

help-circle













  • You don’t quite understand. One of the major drawbacks of UUIDs over monotonically increasing id’s is the lack of ability to sort them. Not just for manual querying, but for index operations, caching, data locality etc.

    It’s very handy and is a big part of the reason why Twitter developed Snowflake IDs, which are basically like UUIDs v6 and v7.

    The UUIDs specs are quite easy to understand and definitely not “enterprisey”.

    They chose “version” because they are just that, versions. Improvements over the original design that benefit from new insights and technological improvements. We’re lucky they had the foresight to include a version number in the spec.