directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@apache.org>
Subject Re: [Mina] Best to have prioritary messages
Date Mon, 10 Oct 2005 18:55:43 GMT
Jean-Fran├žois Daune wrote:

> Hi,
>
> I face a tough problem. My server application needs to prioritize some 
> messages.
> I mean that when a message of type X is received, it should be 
> processed before any other ones.
> Actually, the best would be that a message X whose 'age' is higher 
> than S seconds should be promoted as first one to process.
> In a way, it is QoS at message-handling level.
> What is the best way in Mina to implement this?
> Maybe using a filter?


Well, that looks fairly like a stateful filter so I would think it is 
rather appropriate. (actually a filter is useful for anything :)
but how do you plan to handle your priority buffer ?

Mime
View raw message