[zeromq-dev] A question about FLP
Ian Barber
ian.barber at gmail.com
Mon Jul 25 18:50:28 CEST 2011
On Mon, Jul 25, 2011 at 5:01 PM, Matias GUIJARRO <matias.guijarro at esrf.fr>wrote:
>
> - why do the FLP (Freelance Protocol) specify to use ROUTER (XREP?)
> sockets for both server and client ? Naively I would have used XREP
> for the server and XREQ for the client in a kind of RPC scheme.
>
>
Martin's doc is worth a read, but just to say in this particular case (well,
at least for the first version of freelancer) the client uses XREP because
it needs to address a specific alive server out of N possibly dead servers.
XREQ would just round-robin between all connected services.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110725/ab1be8e7/attachment-0001.htm>
More information about the zeromq-dev
mailing list