Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Best Practice to generate UUIDs in a Cluster-Server Environment

802219Sep 30 2010 — edited Oct 1 2010
Hi all,


I just need some inputs over the best practices to generate UUIDs in typical internet world where there are multiple servers/JVMs involved for load balancing or traffic distribution etc. I know JAVA is shipped with very efficient UUID generator API.

But still that doesn't solve the issue in multiple server environment.

For the discussion sake lets assume I need it to be unique over the setup than a near unique.

How do you guys approach it?

Thanks you all in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2010
Added on Sep 30 2010
12 comments
4,723 views