activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1374) AMQP: Improve transfer tag generation and add tag pooling
Date Sat, 26 Aug 2017 02:46:00 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16142573#comment-16142573
] 

ASF GitHub Bot commented on ARTEMIS-1374:
-----------------------------------------

Github user clebertsuconic commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1492
  
    nice one! 👍 


> AMQP: Improve transfer tag generation and add tag pooling
> ---------------------------------------------------------
>
>                 Key: ARTEMIS-1374
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1374
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: AMQP
>    Affects Versions: 2.2.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 2.3.0
>
>
> The broker currently generates a new transfer tag for each outbound message using a long
value that is converted to a hex string and then encoded to a UTF-8 byte array.  We can optimize
this generation by just encoding the long into a byte array directly thereby generating less
garbage and providing a significant performance boost to that operation.
> The broker can also cache previously generated tags once a message is settled and reuse
them on a future send to further reduce the amount of garbage created on dispatch.  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message