3 ms·
I also wanted to mention, that on the REQ REP side, in the bridge I actually implement the REQ as an XREQ socket, that way I only need one XREQ socket for all j
by hogu 15y ago
I also wanted to mention, that on the REQ REP side, in the bridge I actually implement the REQ as an XREQ socket, that way I only need one XREQ socket for all js side REQ sockets. I simply tag the message with the identity of the js REQ socket. I had thought it would be nice originally to create a one to one mapping between javscript side REQ sockets and server side REQ sockets, however creating one zmq socket per js client may present scaling problems, running out of file descriptors, etc..