Sorry if here is not the right place to ask this. I'm considering to implement simple RPC over a DEALER-ROUTER connection. Thus, I'm facing the obvious problem of matching the answers from the router side with the corresponding requests by the dealer side.
Options considered: 1. number each request. Cons: the server (router side) must be aware of this, and participate in the strategy. 2. use a separate (and dedicated) dealer socket for each RPC call. (Using a pool of reusable open connections so as to save time). Pros: this is transparent to the server. Is there any other option? Am I right that option 2 is the best? Thank you for any comment. _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
