Replies: 1 comment 2 replies
-
|
We used to use UUIDv4, but switched to Uuidv7 because of the sorting advantage. This way, you can sort the dataflow IDs and the last one is always the newest. We also support adding a human readable name to dataflows, in addition to the UUID. If the name is unique, you can use it to identify the dataflow. I'm also open to using something shorter than UUIDs, as long as it's sortable and guaranteed to be unique.
Could you clarify how using v4 instead of v7 helps with that? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a specific rationale for using UUIDv7 as the dataflow ID? It could introduce difficulties for users to distinguish between different dataflows, potentially increasing the risk of errors.
For comparison, Docker containers are identified by a randomly generated 32-bytes hex string, typically relying on a short, readable prefix for daily use. We could mimic this behavior if we were to adopt other UUID variants like UUIDv4.
Beta Was this translation helpful? Give feedback.
All reactions