[zeromq-dev] zmq_poll

Martin Sustrik sustrik at 250bpm.com
Fri May 21 22:46:04 CEST 2010

Serge Aleynikov wrote:
> Sounds exciting.  Does it mean you are putting it on your development 
> plate?  ;-)
> Not sure how much support you need to justify this feature, but you have 
> my vote!  This will make architecture of 0MQ more naturally blending 
> with the philosophy of Erlang, and hence the Erlang 0MQ driver will be 
> more straight forward to implement without bending backwards.

Give me the weekend to think about it.

The change would simplify the architecture and allow sockets to be 
migrated between threads (given the proper memory barriers).

On the other hand it would have performance impact. Specifically, 
zmq_poll would be somehow slower as it would have to deal with more fds 
(one per 0MQ socket). Also, memory consumption would be higher given 
larger number of open fds.


More information about the zeromq-dev mailing list