[zeromq-dev] HWM behaviour & blocking
Viet Hoang (Quant Edge)
viet.hoang at quant-edge.com
Tue May 15 21:54:13 CEST 2012
Messages are meant to send to workers, based on LRU. Yes, i will modify the MDP protocol. Should we have an update on MDP to support async sending & ack?
On May 15, 2012, at 5:45 PM, Pieter Hintjens <ph at imatix.com> wrote:
> On Tue, May 15, 2012 at 2:20 AM, Viet Hoang (Quant Edge)
> <viet.hoang at quant-edge.com> wrote:
>
>> My implementation requires worker to ACK for each message it received. The
>> sender waits to receive ACK before sending the next message. I want to
>> improve the performance by sending a batch of messages, then check ACKs, if
>> any ACK is missed, resend missing messages.
>
> If you want to send a batch to a single worker, then a batch is just a
> larger message. I.e. you can do this fully at the application level.
> If you want to break a batch over multiple workers, then you would
> have to modify the MDP protocol.
>
> -Pieter
> _______________________________________________
> 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