[zeromq-dev] zyre questions

2015-02-08 Thread Kalyan Bade
Hi folks, I am new to zmq/czmq and zyre. Please pardon me if these questions are too basic. I am trying to use zyre for inter-thread communication and discovery of nodes. Each thread doesn't have the prior knowledge of which thread it needs to communicate to. So instead of maintaining my own

Re: [zeromq-dev] zyre questions

2015-02-08 Thread Pieter Hintjens
Hi Kalyan, For inter-thread communication you can use zyre with its gossip discovery. There's an example in zyre_test (). Every message (ENTER, SHOUT, WHISPER) has the UUID address of the sender. You can use this to WHISPER back to it. Typically if you want to identify nodes in other ways you

Re: [zeromq-dev] zyre questions

2015-02-08 Thread Arnaud Loonstra
This is actually what I'm hoping to extend Zyre with. As nodes running on the same machine are better off using a different transport than tcp. But having multiple paths to nodes implies the need for some priority thing. Rg, Arnaud On 2015-02-08 11:13, Pieter Hintjens wrote: Hi Kalyan,

Re: [zeromq-dev] zyre questions

2015-02-08 Thread Pieter Hintjens
On Sun, Feb 8, 2015 at 8:32 PM, Kalyan Bade kalyanb...@gmail.com wrote: Regarding the UUID for whisper message, it looks like that I have to cache the name to UUID mapping in my application. Since names aren't unique they can't really be used as addresses. There may be other ways of doing

Re: [zeromq-dev] zyre questions

2015-02-08 Thread Kalyan Bade
Hi Pieter, Thanks a lot for the answers. Please see inline.. For inter-thread communication you can use zyre with its gossip discovery. There's an example in zyre_test (). I was using gossip hub for discovery and the discovery is working. Every message (ENTER, SHOUT, WHISPER) has the