node.js - Zeromq REQ-REP pattern sync on nodejs -
I have 1 application (written in nodejs, now A ) via ZMQ Another application should be connected (written in Java with Akke Framework, now B ).
The B application is repeated on multiple servers, and selecting the app A by querying every B (The average average demand for this should be
I will apply this method through the REC
/ REP
pattern, but I slam on it:
ZMQ provides a REC
/ REP
pattern with event handling without blocking strategies defined in A GMQ in node Architecture .
I have tested other methods (switching on angle, presenting a socket on the B application and making socket connections), but I want to apply it with zeromq I will try.
Any suggestions?
Whatever you are looking for can not be REC / REP, because that pattern is strictly only handles a request / reply / request / reply message pattern, and whatever you want is more equest b 1 / request b 2 / Answer B 3 (Due to the point, Asynchronous Hong instead of request and reply strict series े).
Without a very deep digging, it seems that it may be a good fit for the dealer / REP socket pattern in your dealer socket ( A ) round-robin fashion
Comments
Post a Comment