[zeromq-dev] freelance(ish) pattern, java and threading

2012-11-27 Thread Peter Friend
I am using something similar to the freelance pattern with ROUTER-ROUTER sockets. On what I am calling the worker end of things the messages are fetched, processed then the reply sent back. I am in Java Land so to get more concurrency I will have a pool of threads processing these requests. The

Re: [zeromq-dev] freelance(ish) pattern, java and threading

2012-11-27 Thread Ian Barber
On Tue, Nov 27, 2012 at 7:36 PM, Peter Friend pfri...@gehrytech.com wrote: It almost sounds like I need another ROUTER socket bound to inproc which the threads can connect to, then the main polling loop can pass from inproc to the clients. That's the way! Your main thread in this case is