[zeromq-dev] zeromq and libuv

Tore Halvorsen tore.halvorsen at gmail.com
Wed Jun 13 17:16:18 CEST 2012


On Wed, Jun 13, 2012 at 4:14 PM, Ian Barber <ian.barber at gmail.com> wrote:
>
> This should be in a FAQ somewhere! IOCP is interesting because Windows has
> slightly half arsed POSIX support (slow select, pretty hard limit on open
> FDs etc.), so there's no way of doing IPC, and no really good polling on it.
> IOCP provides equivalents for both of those, but uses the async do it  and
> notify-on-completion model rather than the poll FDs notify-on-ready then do
> it model. So, the question often comes up as to whether ZeroMQ could provide
> IOCP support, but it's a tricky one to integrate as it wouldn't fit into the
> poller model used internally.

Since I'm stuck on windows, zmq really only delivers high performance on
inproc sockets. The TCP sockets uses windows' really slow select, so
they are slightly more limited. I'm not sure about the IPC sockets, though.

The reason this is requested is probably just that it's needed for good
performance on windows.

> Sustrik I think basically came to the opinion that it was just too tricky
> with the current model, which was one of the drivers of the XSNano project.
> I suspect it's probably reasonably straightfoward to get something
> integrated in a basic way (e.g. add a new iocp-ipc transport and i_engine,
> in the style of OpenPGM), but much harder to integrate IOCP as a base stream
> socket concept as with the poller stuff.

I feared as much...

-- 
Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul]
<demo> 2012 Tore Halvorsen || +052 0553034554



More information about the zeromq-dev mailing list