activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francesco Nigro (JIRA)" <>
Subject [jira] [Created] (ARTEMIS-1307) Improve performance of OrderedExecutor
Date Fri, 28 Jul 2017 09:11:00 GMT
Francesco Nigro created ARTEMIS-1307:

             Summary: Improve performance of OrderedExecutor
                 Key: ARTEMIS-1307
             Project: ActiveMQ Artemis
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 2.2.0
            Reporter: Francesco Nigro
            Assignee: Francesco Nigro
            Priority: Minor

The current ordered executor is using ConcurrentLinkedQueue that:
- has expensive queue::size operation (ie O(n))
- has node instances scattered in the heap  

There are faster and cheaper alternatives in specialized libraries (eg JCtools) that could
be used instead of it to be more friendly with the GC and to provide more throughput too when
CPU bound.

This message was sent by Atlassian JIRA

View raw message