[zeromq-dev] Marshalling / Routing
Pieter Hintjens
ph at imatix.com
Mon Apr 15 13:02:57 CEST 2013
Lee,
I've updated the FAQ to answer your question since it's becoming quite
a common trend.
http://www.zeromq.org/area:faq#toc0
Basically, you're trying to run before you've learned to wear these
new shoes. It usually ends poorly. It's better to read the Guide until
you really do understand what's going on, then build up your
architecture in little steps.
-Pieter
On Mon, Apr 15, 2013 at 11:39 AM, Lee Sylvester <lee.sylvester at gmail.com> wrote:
> Hi Pieter,
>
> So, am I right in saying that, unless I create specific connections to each node, I can't limit my traffic by node? If so, is there any way to create specific connections to nodes but using the same port? I like the idea of using one port for outgoing messages and one for incoming messages, but using ZMQ to decide which connections handle message routing.
>
> Thanks,
> Lee
>
>
>
> On 15 Apr 2013, at 08:55, Pieter Hintjens <ph at imatix.com> wrote:
>
>> On Mon, Apr 15, 2013 at 9:31 AM, Lee Sylvester <lee.sylvester at gmail.com> wrote:
>>
>>> I saw the XSUB and XPUB; they're dealer / router related, right? I found it
>>> hard to find information on using these directly. If I swap out PUB/SUB for
>>> XPUB/XSUB, how then do I specify who can receive what packets?
>>
>> XPUB/XSUB are different from DEALER/ROUTER.
>>
>> The man pages are here: http://api.zeromq.org/
>>
>> See http://api.zeromq.org/3-2:zmq-socket
>>
>> Then, read http://zguide.zeromq.org/page:all and you'll find examples
>> of all socket types.
>>
>> -Pieter
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> _______________________________________________
> 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