Qpid
  1. Qpid
  2. QPID-3841

Improve batching of writes for outbound messages.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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

        Activity

        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ken Giusti made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Giusti made changes -
        Field Original Value New Value
        Assignee Ken Giusti [ kgiusti ]
        Ken Giusti created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development