Bye Sequence, Hello UUIDv7

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
  1. ksuid

    K-Sortable Globally Unique IDs

    Feels like a spiritual successor to the ksuid [1] lib which I first heard of used in conjunction with DynamoD.

    [1]: https://github.com/segmentio/ksuid which has very similar use cases.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. cuid2

    Next generation guids. Secure, collision-resistant ids optimized for horizontal scaling and performance.

    There's a comparison in the README of the project:

    https://github.com/paralleldrive/cuid2#the-contenders

    Some of the arguments mentioned are explained elsewhere in the README, others are assumed.

    One argument standing out for me is the lack of collision-resistance for UUIDv4 which is surprising for me and I didn't spot any sources for that argument.

    Another argument is the entropy source where they go about that Math.random is not reliable as a single entropy source but glimpsing at the source code, they sprinkle the CUID with Math.random data.

    I am no expert in ID security, so I am not qualified to speak about the validity of their arguments, only that there's insufficient information to validate without prior knowledge about the problem domain.

  4. pg_idkit

    Postgres extension for generating UUIDs

    Yup this is one of the reasons I put together a light extension for this:

    https://github.com/VADOSWARE/pg_idkit

    There are a lot of options for UUID extensions (lots of great pure SQL ones!), but I wanted to get as many ID generation strategies in one place

    Also note that native UUID v7 is slated to land in pg17:

    https://commitfest.postgresql.org/44/4388/

  5. spec

    The canonical spec for ulid

  6. postgresql-uuid-generate-v7

    If it helps anyone, at work, I open sourced the UUID v7 postgresql function that I wrote: https://github.com/Betterment/postgresql-uuid-generate-v7

    We've seen some amazing benefits, especially around improving the speed of batch inserts.

  7. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
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