mexicowilly / Yella

Apache License 2.0
2 stars 0 forks source link

router: document zmq stuff #31

Open mexicowilly opened 4 years ago

mexicowilly commented 4 years ago

There is a complex set of relationships in the router's zmq code.

front-end socket for the agent back-end inproc socket that worker threads connect to front-end forwards to back-end and the work gets picked up round-robin

outgoing inproc socket send requests to agents get sent to outgoing socket, which are picked up and forwarded to the front-end socket in the worker main