[zeromq-dev] Middleware du jour

John D. Mitchell jdmitchell at gmail.com
Sat Jun 25 19:19:45 CEST 2011


On Jun 25, 2011, at 10:08 , Jarred Ward wrote:

> I've been following the node.js transition to Windows. Their implementation is getting support directly from Microsoft engineers. Redmond is apparently interested in Azure and Windows support. Libuv, their network abstraction layer, is pretty nice IMO; here's a video of the author implementing a simple web server with it:
> 
> http://vimeo.com/24713213

Code at
https://github.com/joyent/libuv

> How do you feel about this library?

The basic approach is to create a low-level API that is portable across MS Windows IOCP and Unix-en select/epoll/kqueue styles. But, in contrast to previous approaches, it's api is more similar to the iocp callback style and making that work on top of libev on the Unix side.

The code and api is very young and changing quite rapidly so don't expect docs or stability for awhile. There's been little in the way of doing optimization tuning yet so don't expect that yet either.

W.r.t. 0mq, libuv is a low-level library. It's not trying to do anything else so don't expect 0mq like "pattern" support.

FWIW, I personally generally like their approach for this low-level stuff.

Hope this helps,
John




More information about the zeromq-dev mailing list