You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2012/11/16 22:37:11 UTC

[jira] [Created] (AMQ-4180) Use hawtbuf in activemq-client to make message properties and MapMessage body unmarshal more lazy

Timothy Bish created AMQ-4180:
---------------------------------

             Summary: Use hawtbuf in activemq-client to make message properties and MapMessage body unmarshal more lazy
                 Key: AMQ-4180
                 URL: https://issues.apache.org/jira/browse/AMQ-4180
             Project: ActiveMQ
          Issue Type: Improvement
          Components: JMS client
    Affects Versions: 5.8.0
            Reporter: Timothy Bish
            Assignee: Timothy Bish
            Priority: Trivial
             Fix For: 5.8.0


Message properties and MapMessage body already use a lazy unmarshal strategy.  We can use hawtbuf UTF8Buffer objects to unmarshal the bytes of a string properties or map value and only do the UTF-8 decode back to a String instance when needed.  In some contrived test cases I was able to get an extra 100 msgs/sec through my consumers when they only read out a portion of the payload of large MapMessage instance. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (AMQ-4180) Use hawtbuf in activemq-client to make message properties and MapMessage body unmarshal more lazy

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

Timothy Bish resolved AMQ-4180.
-------------------------------

    Resolution: Fixed

changes added to trunk.
                
> Use hawtbuf in activemq-client to make message properties and MapMessage body unmarshal more lazy
> -------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-4180
>                 URL: https://issues.apache.org/jira/browse/AMQ-4180
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>    Affects Versions: 5.8.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Trivial
>             Fix For: 5.8.0
>
>
> Message properties and MapMessage body already use a lazy unmarshal strategy.  We can use hawtbuf UTF8Buffer objects to unmarshal the bytes of a string properties or map value and only do the UTF-8 decode back to a String instance when needed.  In some contrived test cases I was able to get an extra 100 msgs/sec through my consumers when they only read out a portion of the payload of large MapMessage instance. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira