[zeromq-dev] Assign tasks only once to subscribers

andrea crotti andrea.crotti.0 at gmail.com
Thu Aug 9 11:24:43 CEST 2012

What is the right pattern to split many tasks to many different workers,
but where each task can only be taken once??

I thought that the PUB/SUB was fine, and it is as long as I have
num_workers > tasks, but if I publish only one task for example they all
get the same one.

Should I maybe use a queue device in the middle? (which might still be

More information about the zeromq-dev mailing list