You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2011/04/14 09:05:06 UTC

[jira] [Created] (SMX4-806) Use ActiveMQUuidGenerator as the default uuid generator as its faster than the JDK UUID generator

Use ActiveMQUuidGenerator as the default uuid generator as its faster than the JDK UUID generator
-------------------------------------------------------------------------------------------------

                 Key: SMX4-806
                 URL: https://issues.apache.org/jira/browse/SMX4-806
             Project: ServiceMix 4
          Issue Type: Improvement
            Reporter: Freeman Fang
            Assignee: Freeman Fang


we have such code 
public ExchangeImpl(Pattern pattern) {
        this.id = UUID.randomUUID().toString();
        this.status = Status.Active;
        this.role = Role.Consumer;
        this.pattern = pattern;
    }
but UUID.randomUUID() is a well-known source of synchronization bottlenecks. we should use ActiveMQUuidGenerator for better performance.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Moved] (SMX4NMR-270) Use ActiveMQUuidGenerator as the default uuid generator as its faster than the JDK UUID generator

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SMX4NMR-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang moved SMX4-806 to SMX4NMR-270:
-------------------------------------------

        Key: SMX4NMR-270  (was: SMX4-806)
    Project: ServiceMix NMR  (was: ServiceMix 4)

> Use ActiveMQUuidGenerator as the default uuid generator as its faster than the JDK UUID generator
> -------------------------------------------------------------------------------------------------
>
>                 Key: SMX4NMR-270
>                 URL: https://issues.apache.org/jira/browse/SMX4NMR-270
>             Project: ServiceMix NMR
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>
> we have such code 
> public ExchangeImpl(Pattern pattern) {
>         this.id = UUID.randomUUID().toString();
>         this.status = Status.Active;
>         this.role = Role.Consumer;
>         this.pattern = pattern;
>     }
> but UUID.randomUUID() is a well-known source of synchronization bottlenecks. we should use ActiveMQUuidGenerator for better performance.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (SMX4NMR-270) Use ActiveMQUuidGenerator as the default uuid generator as its faster than the JDK UUID generator

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SMX4NMR-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SMX4NMR-270.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0

commit fix
http://svn.apache.org/viewvc?rev=1092573&view=rev for nmr
http://svn.apache.org/viewvc?rev=1092574&view=rev for features

> Use ActiveMQUuidGenerator as the default uuid generator as its faster than the JDK UUID generator
> -------------------------------------------------------------------------------------------------
>
>                 Key: SMX4NMR-270
>                 URL: https://issues.apache.org/jira/browse/SMX4NMR-270
>             Project: ServiceMix NMR
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 1.5.0
>
>
> we have such code 
> public ExchangeImpl(Pattern pattern) {
>         this.id = UUID.randomUUID().toString();
>         this.status = Status.Active;
>         this.role = Role.Consumer;
>         this.pattern = pattern;
>     }
> but UUID.randomUUID() is a well-known source of synchronization bottlenecks. we should use ActiveMQUuidGenerator for better performance.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira