We have used a fairly good random generator that was working well on
test environment.
Our random generator started failing in an environment having 4 jvm. And sometimes generated numbers that were same ? Tha'ts quite possible when you have multiple JVMs and
alot of invocations to the random generator at the same time across different JVM. One in a billion chance of getting the same random numbers but we are seeing instances of this issue.
So i was wondering whats the best way out to generate a random unique id ?
I came across UUID generation and wanted to poll this group if they have used UUID's and have encountered the same scenarios as we are ? If you did encounter random generation failing across multiple jvms what did you use to prevent it ? Please point me to some good material for the same too.
I can provide more details if required !!