Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> UUIDv7 features a time-ordered value field derived from the widely implemented and well-known Unix Epoch timestamp source, the number of milliseconds

This just seems to be a way of creating a huge class of subtle bugs. Now, when two things happen to be created in the same millisecond, they may or may not be monotonically increasing.

Plenty of systems will end up accidentally depending on the ordering of the UUID's being the same order the UUID's were generated in. And that will hold true till the system hits production and suddenly there is enough load for that not to be true for a handful of records and the whole system fails.



Monotonicity is addressed in section 6.2, but it's optional.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: