4 A comparison of unique ids in Go

blog.kowalczyk.info posted by kenny 1881 days ago  

The requirement of non-coordinated generation of unique ids comes up often in distributed systems. A simple solution is to generate a random id. If you give it 16 bytes of randomness, the chances of generating the same random number are non-existent.

See also several uuid articles linked at the end, and the demo page with all the algorithms demonstrated.

Register to comment or vote on this story