Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3841

Improve batching of writes for outbound messages.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.15
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      A patch created by Gordon Sim will allow the connection to batch up outbound messages, resulting in less calls to the socket's write method (as more data is passed with each write).

      This results in a small performance improvement. For example, given a broker with a single queue (flow control disabled), qpid-send filling it and qpid-receive draining it simultaineously with 300 byte messages:

      Pre-patch:
      qpid-send= 77581 msg/sec
      qpid-receive= 77345 msg/sec

      Post-patch:
      qpid-send= 84931 msg/sec
      qpid-receive= 84789 msg/sec

        Attachments

          Activity

            People

            • Assignee:
              kgiusti Ken Giusti
              Reporter:
              kgiusti Ken Giusti
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: