[jboss-jira] [JBoss JIRA] Updated: (JBMESSAGING-180) Design and implement a fairer message priority algorithm

Tim Fox (JIRA) jira-events at lists.jboss.org
Mon Mar 31 08:41:42 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBMESSAGING-180?page=all ]

Tim Fox updated JBMESSAGING-180:
--------------------------------

    Summary: Design and implement a fairer message priority algorithm  (was: Improve message priority algorithm)

> Design and implement a fairer message priority algorithm
> --------------------------------------------------------
>
>                 Key: JBMESSAGING-180
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-180
>             Project: JBoss Messaging
>          Issue Type: Task
>          Components: Messaging Core
>            Reporter: Tim Fox
>         Assigned To: Tim Fox
>             Fix For: 2.0.0 Beta
>
>
> JBoss Messaging queues can contain messages of different priorities from 0 (the lowest priority) to 9 (the highest priority). When delivering messages to consumers JBoss Messaging will attempt to deliver higher priority messages before lower priority messages.
> The current implementation simply delivers any higher priority messages before any lower priority ones. This can result in starvation (i.e. they are never delivered) of lower priority messages if higher priority messages continue to arrive.
> The goal of this project is to design a fairer algorithm which still attempts to deliver higher priority messages first but does not completely starve lower priority messages. The algorithm also needs to be extremely efficient so as not to provide any significant performance overhead on the message delivery process.
> By definition a message priority algorithm cannot be completely "fair" but it should certainly be "fairer" than it is now! 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list