[zeromq-dev] Marshalling / Routing
Lee Sylvester
lee.sylvester at gmail.com
Mon Apr 15 13:13:21 CEST 2013
Hi Pieter,
I've actually bought and read the book. My issue isn't with understanding how it works, but with simply filtering on the publisher end. The pattern I need is very simple and my needs are simple.
Anyhow, I've decided to go back to using RabbitMQ, as its direct messaging flags are exactly what I need. I was hoping simply to go the brokerless route.
Thanks,
Lee
On 15 Apr 2013, at 12:02, Pieter Hintjens <ph at imatix.com> wrote:
> 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
> _______________________________________________
> 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