[zeromq-dev] Middleware du jour

Steven McCoy steven.mccoy at miru.hk
Sat Jun 25 20:09:11 CEST 2011

On 25 June 2011 13:19, John D. Mitchell <jdmitchell at gmail.com> wrote:

> 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.
The article http://tinyclouds.org/iocp-links.html is quite interesting, but
is only the start of the story.  It raises concerns that most ASIO is only
managing sockets and not file based APIs.

The API and code are not wonderful and the entire spin to pro-actor model
really needs a good performance advantage to overcome the burden of keeping
the additional buffers between calls and all the additional threads hanging
about.  I remember from previous LKML posts that NPTL makes threads really
cheap in Linux compared with Linux Threads but I cannot recall any recent
comparison with Windows threading.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110625/79a2b556/attachment.htm>

More information about the zeromq-dev mailing list