message queue - Beanstalkd to ZeroMQ: is it possible to distribute work in the same way? -
a common beanstalkd workflow have many workers listening jobs on queue/tube, locking job while process it, , deleting job no other workers can re-process it. if job fails (eg. resources unavailable complete processing) job can slip onto queue worker pick job.
is approach possible zeromq? eg, using pub/sub model can multiple subscribers receive same job , process @ same time? push/pull or req/rep provide similar setup?
i'm zeromq can provide you. keep in mind zeromq not queue. it's advanced networking library. naturally, provided primatives, can describe.
you specific case seems implemented pub/sub system, if don't mind having same work done many times over. recommend reading zeromq guide , chapter 5.
although i'm can describe zeromq, first search queue already.
Comments
Post a Comment