|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How does one simulate more than 10 priority levels? |
« View previous topic :: View next topic » |
Author |
Message
|
smangano |
Posted: Fri Sep 13, 2002 9:41 am Post subject: How does one simulate more than 10 priority levels? |
|
|
Newbie
Joined: 13 Sep 2002 Posts: 2
|
Is there a scheme (possibly involving more than 1 queue) but preferbably using only 1 that will allow me to get (effectively) more that 10 priority levels with predictable characteristics that one would respect?
Thanks,
Sal |
|
Back to top |
|
 |
bduncan |
Posted: Fri Sep 13, 2002 3:56 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
I don't know about that one Sal. While you could utilize the CorrelId field to act as a secondary priority field (effectively giving you an infinite number of different priorities) it would only be useful when retrieving messages from the queue. Priority is also used in the transport of messages, i.e, if you have a bunch of messages on a transmission queue waiting to go across the network, those with a higher priority are delivered first. Since it is the MCAs doing this work, they won't respect your CorrelId-based priority (or any other priority scheme for that matter) so I think you're kinda stuck here. _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
bob_buxton |
Posted: Sun Sep 15, 2002 2:08 am Post subject: |
|
|
 Master
Joined: 23 Aug 2001 Posts: 266 Location: England
|
Why do you need so many priority levels?
I thought for most applications high, medium, low was as sophisticated as priority schemes needed to get!
Perhaps if you explained what you are trying to achieve other alternatives would become apparent. _________________ Bob Buxton
Ex-Websphere MQ Development |
|
Back to top |
|
 |
smangano |
Posted: Tue Sep 17, 2002 4:28 am Post subject: |
|
|
Newbie
Joined: 13 Sep 2002 Posts: 2
|
We are implementing a distributed calculation server where there are many calculation engines spread across many servers. There are 5 user classes and within each user class there are different priority levels. The idea is that users in class 1 are the most important so their messages get highest priority, Followed by clas 2, etc. Within a class some message are more important than others so there are secondary priorites. So in effect we need 5 * N distinct levels (4 < N < .
I think we have a potential solution using a weighted round robin scheme and different queues for the user classes but would be happy to hear other ideas. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|