3 ms·
What benefit does this have over something like Twitter's Snowflake, which can be used to generate distributed monotonically increasing IDs without synchronizat
by lordofgibbons 2y ago
What benefit does this have over something like Twitter's Snowflake, which can be used to generate distributed monotonically increasing IDs without synchronization?
We've been using an implementation of it in Go for many years in production without issues.
- WorldMaker 2y agoUUIDv7 interoperates with all the other versions of UUID. The v7 support in Postgres doesn't add a new column type, it makes the existing column type more powerful/capable. Applications that had been using UUIDv4 everywhere can get cheap Snowflake-like benefits in existing code just from switching the generator function. Most languages have a GUID or UUID class/struct that is compatibly upgradable from v4 to v7, too.
- akvadrako 2y agoSnowflake is a 64 bit integer. It doesn't need a new column type and works everywhere.