You're right, the text is wrong. The server and workers talk using DEALER-to-DEALER. I'll fix the text, thanks for catching this.
-Pieter On Thu, Nov 15, 2012 at 1:10 AM, Ilja Golshtein <[email protected]> wrote: > Hello, > Pieter, > All. > > In ZGuide in "The Asynchronous Client-Server Pattern" section we have > == > Workers get unaddressed messages, and we manage the connections from server > thread to worker threads explicitly using a ROUTER socket as backend. This > would require that workers start by telling the server they exist, which can > then route requests to workers and track which client is 'connected' to which > worker. This is the load-balancing pattern again. > == > > Since we are talking about Routers at workers' side, I am not sure why "This > would require that workers start by telling the server they exist". > It is server who should start a communication and he does it anyway. > > Actually switching from DEALER to ROUTER at worker's side requires reading > and writing extra frame, which is identity. > > Do I miss something? > > Thanks. > > > > -- > Best regards > Ilja Golshtein > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
