Request/reply pattern (client/server) in python & zeromq
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Request/reply pattern (client/server) in python & zeromq

In this pattern, client sends a request and server replies to the request. Request sockets can connect to many servers and will be distributed to all of the servers. Request sockets will block on send if it doesn't get a reply. Replies will block on receive until a request is received. Requests and responses must be paired & successful.

To run, start up two servers on two separate ports:
python 5546
python 5556
And then run client ot send requests to them. python 5546 5556