[zeromq-dev] Priority

Bachmair Florian - flexSolution GmbH florian.bachmair at flexsolution.eu
Tue May 26 11:39:09 CEST 2015


Just to be clear, that I understand you right

With one Socket: State1(10ms) - State_2(10ms) - State3(10ms) - 
State4(10ms)-RandomData(100ms)- State5(10ms)
In that case State 5 will arrise 100ms later than expected because there 
such "big" RandomData which takes 100ms to transmit


You suggestion

Socket 1: State1 - State 2 - State 3 - State 4 - State 5
Socket 2: ------------------------------------------------RandomData

Right?




Am 26.05.2015 um 11:20 schrieb Doron Somech:
> The short answer is no, but you can have a dedicate socket for urgent 
> messages, use this socket for urgent messages.
>
> In your message handling loop you can give priority to the urgent 
> socket by handling messages from the urgent first.
>
> On Tue, May 26, 2015 at 11:49 AM, Bachmair Florian - flexSolution GmbH 
> <florian.bachmair at flexsolution.eu 
> <mailto:florian.bachmair at flexsolution.eu>> wrote:
>
>     Hi!
>
>     Is it possible to send Messages with a certain priority?
>     So that time critical messages will be sent first?
>
>     _______________________________________________
>     zeromq-dev mailing list
>     zeromq-dev at lists.zeromq.org <mailto:zeromq-dev at lists.zeromq.org>
>     http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150526/f52a6212/attachment.htm>


More information about the zeromq-dev mailing list