|
|
|
|
|
by pbbakkum
4234 days ago
|
|
We encountered some of these same issues and wrote this library to mitigate them: https://github.com/groupon/locality-uuid.java. I think UUIDs make good unique ids overall, particularly in distributed environments where id generation can't be coordinated, but should be used carefully, as the article notes. |
|
http://en.wikipedia.org/wiki/Universally_unique_identifier#V...
This will have an better distribution for when they are used as keys as well.