On Tue, Apr 23, 2013 at 10:57 AM, Andrey Ushenin <[email protected]
> wrote:


> 2. related to #1: is it possible to have a watermark individually counted
> in the ROUTER socket for each attached client?
>

Not sure what you are asking here.


> 3. More general question - is DEALER-ROUTER setup as we use them the best
> way to implement our requirements? I'm wonderting if there are any
> alternatives where we could still use the routing functionality like the
> one provided by the ROUTER but have a more control over individual client
> pipes.
>

In Zyre, we use a ROUTER for incoming messages but send all outgoing
messages on a DEALER, one per peer. This lets us be very precise about e.g.
closing the DEALER socket when we think a peer has died. We use the ROUTER
identity ask key to hold an object per peer, which includes its DEALER
socket.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to