3 ms·
> "I don't understand the desire to store timestamp information into a UUID" One reason is to be able provide sortability with respect to what is often a surro
by grzm 8y ago
> "I don't understand the desire to store timestamp information into a UUID"
One reason is to be able provide sortability with respect to what is often a surrogate key attribute, as listed in the introduction:
> "It borrows core ideas from the ubiquitous UUID standard, adding time-based ordering and more friendly representation formats."
You can find additional motivations in the "Time is on our side" section:
https://segment.com/blog/a-brief-history-of-the-uuid/#time-is-on-our-side https://segment.com/blog/a-brief-history-of-the-uuid/#time-i...
> "In Cassandra, TimeUUIDs are sortable by timestamp, quite useful when needing to roughly order by time."
While you may not agree with the the reasons, I think they are understandable.