Hello, I'm building a service-oriented system. A client sends a request to create some entity on the server. The server creates the entity and then replies with the entity's handle, so that the client can send more requests regarding the entity (i.e. modify/delete it). I need to match the request to create an entity with the reply containing its handle (otherwise a client could potentially confuse between different entities' handles).
Is there any recommended way do that in zeromq? Any 'best practices'? If I understand that correctly, using REQ-REP socket combination ensures that the reply will match the request, however: 1. The server is multi-threaded and does not ensures first-come-first-served policy 2. Some request are left without reply intentionally, which is not possible with REQ-REP, so I actually use DEALER-DEALER combination. Regards, -- Daniel Krikun
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
