[zeromq-dev] A query about implementing aborts in request reply broker
Ian Barber
ian.barber at gmail.com
Sun Jul 15 17:40:18 CEST 2012
On Sat, Jul 14, 2012 at 7:52 PM, aalok sood <aalok at ideadevice.com> wrote:
> I have a request reply broker and it does the job really well.
>
> Now if I want to tell my workers to abort a bunch of these requests, based
> on some request parameter.
>
> For this I can use a pub-sub, but how do I collect the results?
>
I would use a pub-sub and a pull or similar socket - so requests to cancel
are published, and you get a confirm message when they've been cancelled
sent back over the pull socket. That said, given you req-rep at the moment,
I'm guessing your work distributor is a dealer or router socket, so you
could collect the results directly through that.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120715/9c3c7b61/attachment.htm>
More information about the zeromq-dev
mailing list