[zeromq-dev] DEALER-ROUTER question.

2014-09-25 Thread Riskybiz
A quick question for the zeromq experts if I may? Given a DEALER to ROUTER zeromq connection which is able to operate asynchronously; what is the best way to coordinate inbound and outbound message handling such that the DEALER socket is not blocked and an application is able to react and send

[zeromq-dev] DEALER-ROUTER question

2014-09-25 Thread Riskybiz
e future? Riskybiz. Message: 29 Date: Thu, 25 Sep 2014 11:29:01 +0200 From: Pieter Hintjens Subject: Re: [zeromq-dev] DEALER-ROUTER question. To: ZeroMQ development list Message-ID: Content-Type: text/plain; charset=UTF-8 Please read the Guide and work through the examples, it has lot

Re: [zeromq-dev] DEALER-ROUTER question.

2014-09-25 Thread Pieter Hintjens
Please read the Guide and work through the examples, it has lots of explanation and examples of how to do this kind of thing. On Thu, Sep 25, 2014 at 10:36 AM, Riskybiz wrote: > A quick question for the zeromq experts if I may? > > > > Given a DEALER to ROUTER zeromq connection which is able to o

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-25 Thread Pieter Hintjens
> > I hope you will view my feedback as constructive. > > All that said; which part of the guide should I read to solve my > DEALER-ROUTER issue, can I be confident that any associated zguide example > will actually work and help me to further understand how to solve my own

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-25 Thread Diego Rodríguez-Losada
constructive. > > All that said; which part of the guide should I read to solve my > DEALER-ROUTER issue, can I be confident that any associated zguide example > will actually work and help me to further understand how to solve my own > zeromq issues in the future? > > > Riskybiz.

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-25 Thread Thomas Rodgers
hich part of the guide should I read to solve my > DEALER-ROUTER issue, can I be confident that any associated zguide example > will actually work and help me to further understand how to solve my own > zeromq issues in the future? > > > Riskybiz. > > > Message: 29 > Date:

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-25 Thread Goswin von Brederlow
back as constructive. > > All that said; which part of the guide should I read to solve my > DEALER-ROUTER issue, can I be confident that any associated zguide example > will actually work and help me to further understand how to solve my own > zeromq issues in the future? > > >

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-26 Thread Pieter Hintjens
On Fri, Sep 26, 2014 at 3:10 AM, Goswin von Brederlow wrote: > Pieter: Would it be possible to put all the examples of the guide into > a git project and have them included in the auto compile done for > every pull request? The examples are in a subdirectory of the Guide git project, and we coul

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-26 Thread Goswin von Brederlow
On Fri, Sep 26, 2014 at 09:51:50AM +0200, Pieter Hintjens wrote: > On Fri, Sep 26, 2014 at 3:10 AM, Goswin von Brederlow > wrote: > > > Pieter: Would it be possible to put all the examples of the guide into > > a git project and have them included in the auto compile done for > > every pull requ

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-26 Thread Pieter Hintjens
On Fri, Sep 26, 2014 at 10:37 AM, Goswin von Brederlow wrote: > If the two get merged then why not merge the zsock class with the > libzqm socket structure. Use it as is for the zsock interface and cast > it to void * for the sake of the old API. A true merge and not just > layering the czmq API

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-26 Thread Goswin von Brederlow
On Fri, Sep 26, 2014 at 11:06:29AM +0200, Pieter Hintjens wrote: > This is one of those rare roadmap / vision threads. > > Concretely all this has to happen first: > > - release 4.0.5 sometime very soon > - release 4.1.0 RC sometime later > - update Guide for 4.1 > - release CZMQ v3.0 RC > > I t

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-26 Thread Brian Knox
Conceptually I like the idea of czmq folding back into libzmq. While requiring both llibzmq and czmq for a language binding that wraps czmq isn't the end of the world, it is an additional complexity. I very much look forward to the czmq 3.0 release, and I'm hoping to have goczmq feature complete

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-26 Thread Pieter Hintjens
On Fri, Sep 26, 2014 at 11:36 AM, Goswin von Brederlow wrote: > One last thing and then I will get back to work. Ah, work, that mysterious thing we do when we're not talking about it :-) > The zring class in CZMQ I feel is still experimental and I would like > to keep that in flux some more, ma

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-26 Thread Goswin von Brederlow
On Fri, Sep 26, 2014 at 01:46:20PM +0200, Pieter Hintjens wrote: > On Fri, Sep 26, 2014 at 11:36 AM, Goswin von Brederlow > wrote: > > > One last thing and then I will get back to work. > > Ah, work, that mysterious thing we do when we're not talking about it :-) > > > The zring class in CZMQ I

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-26 Thread Pieter Hintjens
On Fri, Sep 26, 2014 at 6:20 PM, Goswin von Brederlow wrote: > Do you actually need it? After all the work, that's a sad question. What I see are too-large patches done in "I want to try this yet I've not defined a clean problem statement" directions, which stress other people, create lots of di

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-26 Thread Goswin von Brederlow
On Fri, Sep 26, 2014 at 06:34:32PM +0200, Pieter Hintjens wrote: > On Fri, Sep 26, 2014 at 6:20 PM, Goswin von Brederlow > wrote: > > > Do you actually need it? > > After all the work, that's a sad question. What I see are too-large > patches done in "I want to try this yet I've not defined a c

Re: [zeromq-dev] DEALER-ROUTER question

2014-09-26 Thread Pieter Hintjens
On Fri, Sep 26, 2014 at 7:50 PM, Goswin von Brederlow wrote: > How much of the time was spend on merging zhash support into zring? Ah, sure. That was a short job and can certainly be kicked out again later. Sorry, my bad. > I think what doesn't quite work right is this: >... That 'discuss' pa

[zeromq-dev] DEALER/ROUTER question about HWMs

2014-11-05 Thread Diego Fons
Hi, I'm implementing a DEALER/ROUTER schema in which messages are sent from DEALER to ROUTER only, no messages are sent back. My question is related to HWMs in both sockets. When reaching the SNDHWM in DEALER socket, application will block (this is clear in documentation), however, it is not clea

Re: [zeromq-dev] DEALER/ROUTER question about HWMs

2014-11-05 Thread Pieter Hintjens
The behavior is defined here: http://rfc.zeromq.org/spec:28 On Wed, Nov 5, 2014 at 2:20 PM, Diego Fons wrote: > Hi, > > I'm implementing a DEALER/ROUTER schema in which messages are sent from > DEALER to ROUTER only, no messages are sent back. My question is related to > HWMs in both sockets. > >