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

Poor performance when a priority queue with a ring queue policy has a large backlog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.18
    • 0.26
    • C++ Broker
    • None

    Description

      The ring queue policy utilizes a single deque to store messages in priority and FIFO order. When inserting messages of mixed priority into a queue with a large (>100,000) message backlog, the performance degrades quickly enough to potentially block all broker worker threads if they all are publishing to the same queue. Recommend separating the ring queue data structure into separate deques based upon message priority in order to avoid the potential for reshuffling the deque with each incoming message.

      Attachments

        1. qpid-4287.patch
          6 kB
          Jason Dillaman

        Activity

          People

            aconway Alan Conway
            dillaman Jason Dillaman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: