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

Optimize the parsing of message annotations

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • 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
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: