On Fri, Jun 3, 2011 at 3:04 PM, Pieter Hintjens <[email protected]> wrote: > On Fri, Jun 3, 2011 at 12:55 PM, Garrett Smith <[email protected]> wrote: > >> At first blush, publish side filtering in 0MQ would address my use >> case nicely. I realize the performance and complexity implications of >> that model make it a poor (or challenging) fit for the 0MQ socket >> layer. > > Another option would be to implement topic exchange logic in your > application (it's not really complex) and use ROUTER (XREP) sockets to > address DEALER (XREQ) subscribers. That is what I'd do today, if I was > unable to make the PUB-side filtering with in the libzmq core.
I'm not following this. DEALER looks like it uses fair queuing, which would distribute messages across subscribers in round robin fashion rather than explicitly route messages. I can understand routing in the context of one-socket-per-subscriber. But is there a way to use a single DEALER socket for this? Garrett _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
