[jira] [Commented] (QPIDJMS-421) Improve JMS MessageProducer performance by caching Message Annotation encodings

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (QPIDJMS-421) Improve JMS MessageProducer performance by caching Message Annotation encodings

JIRA jira@apache.org

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

ASF subversion and git services commented on QPIDJMS-421:
---------------------------------------------------------

Commit 0089ed185c8e98c3a05e5724becf8091076134b8 in qpid-jms's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=0089ed1 ]

QPIDJMS-421 Cache common message annotation encodings for sends

Use a cache to store the msot commonly used message annotations that
are applied to outbound messages in order to reduce overhead of sends
that would otherwise be encoding the same annotations map each time.

Only when additional JMS features like scheduled delivery time are
used will we need to perform a full encode on the MessageAnnotations
section of the outbound message.


> Improve JMS MessageProducer performance by caching Message Annotation encodings
> -------------------------------------------------------------------------------
>
>                 Key: QPIDJMS-421
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-421
>             Project: Qpid JMS
>          Issue Type: Improvement
>          Components: qpid-jms-client
>    Affects Versions: 0.37.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Major
>             Fix For: 0.38.0
>
>
> Each message sent by a producer has a set of type values for Destination and Message types added to the MessageAnnotation section of the AMQP message.  We can improve send performance by caching the encoded bytes of these MessageAnnotations sections and write that instead of performing a fresh encode on each message.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]