[zeromq-dev] Async replies?

Conrad Steenberg conrad.steenberg at gmail.com
Sat Oct 24 03:03:02 CEST 2009


On Fri, 2009-10-23 at 17:39 -0600, PJ Durai wrote:
> On Fri, Oct 23, 2009 at 11:58 AM, Conrad Steenberg
> <conrad.steenberg at gmail.com> wrote:
> > Hi Martin et al.,
> >
> > I know there was some talk on the subject of async replies on the list a
> > while back, can anyone fill me in on whether it is in the pipeline to be
> > implemented?
> >
> > What I mean by async replies is simply replying to messages sent by a
> > REQ application to a REP application in a different order than received,
> 
> That is being currently talked about in a couple of other threads.
> 
> > or sending a message REP -> REQ without receiving a request first.
> 
> I was wondering about that too. But that would take it into the realm
> of Brokers, Clients with registered identies and such, no?  0MQ 2.0
> seems to be aiming towards a much simpler model.

It does, yes. However, if you look at the code (src/rep.cpp) you'll see
that all it would take to implement this is associating the appropriate
socket (in the zmq sense) with every message so that any replies can be
sent back to the requester.

Conrad

> _______________________________________________
> 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