[
https://issues.apache.org/jira/browse/ARTEMIS-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
clebert suconic closed ARTEMIS-1374.
------------------------------------
> 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)