[Freeswitch-users] UUID - how unique is it?

Michael Jerris mike at jerris.com
Mon May 20 16:18:01 MSD 2013


The apr uuid stuff already has a portion of the uuid thats per-instance. I've seen a lot of details in this thread that are not accurate to my recollection of this code.  Has anyone actually dug in and looked at it?  Its been a while by my recollection is each instance gets a certain number of bits from random at startup, then its a combination of time + counter.  The only collision possibility would be the random at startup portion which would be much less likely than getting struck by lightning.

Mike

On May 20, 2013, at 2:20 AM, Steven Ayre <steveayre at gmail.com> wrote:

> Sorry I meant to say with the daemon. (uuidd). That would be unique between multiple  instances too. If the time one is used its already unique to the server. But as I said, I'm not sure if that's the one FS uses.
> 
> On Monday, May 20, 2013, Yossi Neiman wrote:
> If you're running multiple FS instances, you could also use both the FS
> server UUID in addition to the session UUID together.  That'd mean
> storing more data but it would probably be on the order of winning a
> $500 million USD Powerball game twice within the same month...
> 
> -Yossi
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130520/9262f097/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list