[ 
http://issues.apache.org/jira/browse/AXIS2-282?page=comments#action_12332275 ] 

Steve Loughran commented on AXIS2-282:
--------------------------------------

1. speedup is good, but remember that UUIDs have the requirement of being 
unique. Bad things happen when something generates non-unique guids, and worse 
things when that software is broadly used. COM developers still recarll with 
terror a batch of win9x gateway boxes that could generate the same guids due to 
a common MAC-address 

2. you could make use of commons-uuid an option; delegate to it if it is 
present, if not, then not.

3. you could alway create a pile of guids in advance, a "guid pool"

> Axis2 UUID Generator is too slow
> --------------------------------
>
>          Key: AXIS2-282
>          URL: http://issues.apache.org/jira/browse/AXIS2-282
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Improvement
>   Components: core
>     Reporter: Eran Chinthaka
>      Fix For: 0.93

>
> According to Ant Elder : Calling to UUIDGenerator.getUUID() is _really_ slow, 
> takes about
> 1ms on my machine, accounting for about 65% of the total service invocation!
> Solution Proposed by him : To make the UUID generator a bit faster how about 
> doing all the complicated
> computation to come up with a unique ID just the one time, then for all
> subsequent requests just append an incrementing integer onto the original
> unique id.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to