I'm fairly new to zeromq and have been trying to get some more background in how stuff works, as suuch I've been running through a few examples in the pyzmq github repo. I was working on the async web example ( https://github.com/zeromq/pyzmq/blob/master/examples/eventloop/asyncweb.py) and was working on extending it to have a pool of processes for the "slow_responder" instead of a single thread. My changes are here: http://pastebin.com/h2vhrQxu. This issue that I've been running into is that it seems that all requests for the slow_responder go to a single process, instead of being load balanced across both of them. I believe this is caused by the "recreation" of the zmq instance on every request which probably is messing with the RR algorithm. If there a better way to do this? Or would I need to have my own mechanism for distributing the load to the correct sockets?
Thomas Jackson
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
