[ 
https://issues.apache.org/jira/browse/QPID-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804613#comment-13804613
 ] 

Alan Conway commented on QPID-4287:
-----------------------------------

There was a new but similar bug in the trunk code, will post a fix shortly: 
https://reviews.apache.org/r/14911/

> Poor performance when a priority queue with a ring queue policy has a large 
> backlog
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-4287
>                 URL: https://issues.apache.org/jira/browse/QPID-4287
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.18
>            Reporter: Jason Dillaman
>            Assignee: Alan Conway
>         Attachments: qpid-4287.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to