[zeromq-dev] 0MQ/2.0-alpha3 available

Martin Sustrik sustrik at fastmq.com
Wed Sep 23 13:58:11 CEST 2009

Hi Ferenc,

> What is the recommended way to create multi-thread server application 
> using this scenario?

It's not straightfoward at the moment. The correct solution would be to 
have in-process shared queue that would get the messages from the 
clients and load-balance them among threads.

The roadmap is as follows:

1. add I/O multiplexing (zmq_poll)
2. implement stand-alone shared queue
3. implement in-process shared queue

Still, even at the moment the I/O operations in the server are handled 
asynchronously by a thread pool of dedicated I/O threads, so the server 
cannot be considered to be entirely single-threaded.


More information about the zeromq-dev mailing list