[zeromq-dev] notify pattern

R ryan.deemer at gmail.com
Mon Sep 9 15:16:00 CEST 2013


Hello folks,

I am new to zmq and was implementing the "basic reliable queuing" pattern to distribute work across multiple workers. The workers are intended to do a task that could take several minutes once kicked off. 

I wanted to maintain a list of tasks and workers in the queue so that if a worker has crashed/is unresponsive for an hour(or so) I can send the task to another worker. I will have the worker notify the queue once a task is complete so that the task is taken out of the queue. 

Is there a better pattern to do this. 

Thanks a lot.

R

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130909/e635516a/attachment.htm>


More information about the zeromq-dev mailing list