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

Optimize the parsing of message annotations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9.0
    • None
    • 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

              kgiusti Ken Giusti
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: