[zeromq-dev] IOCP

gonzalo diethelm gdiethelm at dcv.cl
Mon Aug 30 22:41:52 CEST 2010


> > Naïve question: would this also be a step toward adding support for the
> > ipc protocol under Windows?
> 
> 	It would be possible to work ipc into the iocp but it will be
> considerable work.  Ipc under Win32 is something you have to implement
> yourself using shared memory (memory mapped files) and custom flow control
> systems, unless they've added something recently.  Typically it is not
> "that" horrible to do, just time consuming and we'll have to deal with it
> separately.  As to integration with iocp, it would just be a case of when
> there is data in the IOPC or free space, you just send a
> PostCompletionStatus message and it will look basically like a socket
> read/write.

Ok.

> 	Tcp/pipes have optimizations on local so they are fairly fast, not
> "as" fast as a home grown ipc but not horrible either.  So, for the time
> being I wouldn't worry about it too much unless you are doing something
> really huge and sensitive to the latency.

Would it make sense to implement the ipc endpoints under Windows by simply using tcp endpoints? Maybe it is already this way; if so, apologies. If not, it might ease migration of code using ipc endpoints.

-- 
Gonzalo Diethelm

----------------------------------------- 
Declaración de confidencialidad: Este Mensaje esta destinado para
el uso de la o las personas o entidades a quien ha sido dirigido y
puede contener información reservada y confidencial que no puede
ser divulgada, difundida, ni aprovechada en forma alguna. El uso no
autorizado de la información contenida en este correo podrá ser
sancionado de conformidad con la ley chilena. 
Si usted ha recibido este correo electrónico por error, le pedimos
eliminarlo junto con los archivos adjuntos y avisar inmediatamente
al remitente, respondiendo este mensaje. 

"Before printing this e-mail think if is really necesary".
Disclosure: This Message is to be used by the individual,
individuals or entities that it is addressed to and may include
private and confidential information that may not be disclosed,
made public nor used in any way at all. Unauthorized use of the
information in this electronic mail message may be subject to the
penalties set forth by Chilean law. 
If you have received this electronic mail message in error, we ask
you to destroy the message and its attached file(s) and to
immediately notify the sender by answering this message. 




More information about the zeromq-dev mailing list