79685810

Date: 2025-07-01 09:24:52
Score: 0.5
Natty:
Report link

You’ve already sniffed out the right ROUTER–DEALER pattern. But there is a nuance here: the broker must keep track of which client request is handled by which backend, so the response goes back to the right client.

You can try Router-Dealer-Router pattern. This is why this will work:

So, the chain is:

CLIENT <---> ROUTER (broker frontend) <---> DEALER (broker backend) <---> ROUTER (per backend)

This lets you:

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Rajneesh Aggarwal