Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1389

Optimize the parsing of message annotations

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0
    • Component/s: None
    • Labels:
      None

      Description

      Parsing message annotations, especially on the inter router incoming link, are quite expensive.

      For example, in a simple standalone router test the time it takes on average (on my puny laptop) to receive a message and hand it off to the core is ~1 usec:

      TestRouterA: link MyReceiver count=500000 rx=1.094

      Compare that time to the same operation performed on the inbound router link on a two-hop router configuration:

      TestRouterB: link MyReceiver count=500000 rx=7.035

      On average it's 7x slower.  Most of this time appears to be spent manipulating inbound message annotations.

       

      This Jira tracks work towards improving the performance of message annotation processing.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              kgiusti Ken Giusti
              Reporter:
              kgiusti Ken Giusti

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment