axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <>
Subject [jira] Commented: (AXIS2-282) Axis2 UUID Generator is too slow
Date Mon, 17 Oct 2005 18:59:46 GMT
    [ ] 

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:
>      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:
For more information on JIRA, see:

View raw message