The guide mentions two possible approaches for the design of the server-to-worker interface in the asynchronous client-server pattern - a ROUTER socket with the load-balancing pattern and a DEALER socket that does round-robin load balancing internally.
In this particular case worker threads are in the same process as the server thread, but my understanding is that in the general case the second approach is more reliable, since if a worker goes offline a ROUTER will drop an unroutable message, while a DEALER will send it to another worker that is available. Is this understanding correct? _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
