My only issue with using UUID's is the fact that they weren't DESIGNED for time sequencing, and you could run foul of the implementation.
I just ran a quick test, fired off 4 phantoms and another screen based process to get 5,000 sequential ID's - they all finished in under a second, so 25,000+tps seems AOK ... if the item IS in contention, it will be in cache, so in practice I don't think this should be an issue. Phil was originally concerned about this being a bottleneck - my (limited) testing leads me to believe this will not be the case .... the god news is that he now has multiple alternatives to trial. Ross Ferris Stamina Software Visage - an Evolution in Software Development >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:owner-u2- >[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] >Sent: Thursday, 30 June 2005 12:15 PM >To: u2-users@listserver.u2ug.org >Subject: RE: [U2] - Determining time sequence > >Ross, I'm not derogating the use of sequential IDs but IIRC, the bloke had >a reason not to use a sequential id counter and wanted an alternative. >The uuid spec states that uuid should cater for time adjustments on the >local clock, hence, shouldn't be "vulnerable" (Of course, in the real >world, that depends on how the spec has been implimented). The uuid can be >sequentialised and can gauranteed to be unique to a high degree of >certainty in time and space. There are no locking or contention issues >when a uuid is generated opposed to a heavily used key generator. >I stand by my assertion that a uuid is a viable and justifiable solution >in the original posters problem space. ;-) >Cheers, Stuart > >[EMAIL PROTECTED] wrote: ----- > > >>This would still make things "vulnerable" whenever date/time changed >>on >>the generating machine .... the "beauty" of the sequential ID is that >>fact that nit WILL be in "real time" order, regardless of what people >>do >>with dae & time of the machine > > > >********************************************************************** >This email message and any files transmitted with it are confidential >and intended solely for the use of addressed recipient(s). If you have >received this email in error please notify the Spotless IS Support Centre >(61 3 9269 7555) immediately who will advise further action. > >This footnote also confirms that this email message has been scanned >for the presence of computer viruses. >********************************************************************** >------- >u2-users mailing list >u2-users@listserver.u2ug.org >To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/