[zeromq-dev] Interesting C-libraries

Martin Sustrik sustrik at 250bpm.com
Tue Jun 28 23:17:29 CEST 2011


On 06/28/2011 09:44 PM, malist wrote:

> Hello. I found interesting discussion on Apache dev list about future development:
>
> http://www.gossamer-threads.com/lists/apache/dev/399806?page=last
>
> 4 projects that maybe could form the baseline for something new.
>
> pocore: For base OS portability and memory pooling system.
> <http://code.google.com/p/pocore/>
> libuv: Portable, fast, Network IO. (IOCP programming model, brought to Unix)
> <https://github.com/joyent/libuv>
> http-parser: HTTP really broken out to simple callbacks.
> <https://github.com/ry/http-parser>
> selene: SSL, redone to better support Async IO.
> <https://github.com/pquerna/selene>

We need to consider the following facts:

* 0MQ works OK with basically any polling system except for IOCP.
* Using any of the above libraries thus makes sense only as far as it 
allows to use IOCP. Portability of the libraries is irrelevant as all 
the non-IOCP code is already in 0MQ.
* The question is how much easier (if at all) would be to use IOCP via 
one of the libraries as opposed to using it directly.
* And does the increased simplicity outweight dragging in dependency on 
an external project?

Martin



More information about the zeromq-dev mailing list