Push/Pull pattern in zeromq & python
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
zmq-consumer.py
zmq-producer.py
zmq-results-collector.py

README.md

zeromq-push-pull-pattern

Push/Pull pattern in zeromq & python


This consists of one producer, many consumers, and a resultscollector. Each of these can be scaled. Producers create work and use zmq.PUSH to send work to any available consumer. Consumers pick up the work (it is distributed evenly from producer), process the work, and PUSH the results of their work to results collector.


To run ,you want to start resultscollectors, then consumers, then producers so work has a place to go

python zmq-results-collector.py
python zmq-consumer.py
python zmq-producer.py