Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4180

Use hawtbuf in activemq-client to make message properties and MapMessage body unmarshal more lazy

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 5.8.0
    • 5.8.0
    • JMS client
    • None

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment