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

Improve batching of writes for outbound messages.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.15
    • 0.15
    • C++ Broker
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: