Hacker News new | past | comments | ask | show | jobs | submit login

In which case, you could equally use v1 or v5 UUIDs.

Plus a UUID can be generated by a source outside your network -- eg, client side, with the ability to treat them as quasi-nonces for replay detection.

Or inside your network, during long-running partitions.

The bigger question is: why would I install, manage, update, monitor zookeeper/etcd and write my own custom ID generator and all the storage mechanisms around it, when I can just use UUIDs?




Right, but I'm addressing the parent case in which ordered id is required (for whatever use case)


v1 UUIDs are ordered.




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

Search: