Dimensionless pyzmq socket

Can someone point me to an example of non-integrating ZeroMQ (0MQ) REQ / REP with Python bindings? My understanding of ZMQ may be wrong, but I could not find an example on the Internet.

I have a server in Node.JS that sends work from multiple clients to the server. The idea is that the server can deploy a bunch of jobs running in parallel, instead of processing data for one client, and then the next

+4
source share
1 answer

You can use it as zmq.Poller (many examples you can find in zguide repo, for example rrbroker.py ) or gevent-zeromq ( sample code ) for this purpose.

+2
source

Source: https://habr.com/ru/post/1434735/


All Articles