[zeromq-dev] Serialisation of message with SND_MORE
Min
miniway at gmail.com
Wed Nov 7 18:50:54 CET 2012
Sorry it's partially sent and I didn't notice SND_MORE flags.
Answer might be 3) or 2) depends on when each pipe is activated. 1) will never happen.
Thanks
Min
2012. 11. 8. 오전 2:43 Min <miniway at gmail.com> 작성:
> PULL works on a fair queue basis between active pipes.
>
> But which pipe is active depends on when a messege is deliverd to its pipe.
>
> If you have enough delay between each message, answer will be 1).
> Otherwise the order might not be consistence including 4) a
>
> Thanks
> Min
>
> 2012. 11. 8. 오전 1:17 Stefan de Konink <stefan at konink.de> 작성:
>
>> Hi,
>>
>>
>> How are messages serialised in the following SND_MORE scenario?
>>
>> push1
>> \
>> pull0
>> /
>> push2
>>
>>
>> push1 sends: A1 A2
>> push2 sends: B1 B2
>>
>>
>> What is the expected outcome at pull0?
>>
>> 1) A1 B1 B2 A2
>> 2) B1 B2 A1 A2
>> 3) A1 A2 B1 B2
>>
>>
>> Stefan
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list