[zeromq-dev] I'm stuck: How to handle multiple clients, single server?

Naveen Chawla naveen.chwl at gmail.com
Tue Aug 31 02:18:53 CEST 2010


Ok to answer my own question, do I simply use REQ sockets for the
clients, and a XREP socket for the server? Does this automatically
route replies exclusively to the originator? Even though it's all on
the same communication channel?

On 31 August 2010 01:05, Naveen Chawla <naveen.chwl at gmail.com> wrote:
> This isn't for the existing pub-sub model, but the other way round.
>
> I want to poll one server, potentially by multiple clients, for
> various different things.
>
> What is the optimal way of getting responses back to the right client
> that made the request?
>
> I wish 0mq had an optimal pub-sub "pull" model, but it does not.
>



More information about the zeromq-dev mailing list