[Mono-list] mod_mono

Angel Marin anmar@gmx.net
Thu, 25 Nov 2004 14:30:49 +0100


On Wed, Nov 24, 2004 at 10:13:52PM -0800, Darren Martz wrote:
> > Angel Marin is working on it and is using the TCP socket, not 
> > the unix socket which, btw, is available from certain version 
> > of the windows API, but not likely to be used in Angel's port.
> 
> Due to the large performance differences between named-pipes and sockets in
> Windows, I strongly suggest investigating a different approach. In my
> experience, when the client and the server reside on the same box, pipes
> have a huge performance gain over sockets any day. Take SQL Server for
> instance, do a test between pipes and sockets and witness the results for
> yourself.

Well, it uses tcp socket, as is the straightforward port from current code.
And the first thing I wanted to have was mod_mono compiling and working
under windows.

Using named-pipes is a non-trivial implementation as all the code in
mod_mono expects apr_socket to be used. Then in order to uses pipes, a mayor
rewrite would be needed. And of course mod-mono-server should implement the
same logic.

Of course in the long term is the way to go, but by now I'm focused on
having a functional tcp version [1]. Which is better than nothing? :). APR
provides all the necessary portable funcions, so that part won't be too
hard.

[1] <http://lists.ximian.com/archives/public/mono-devel-list/2004-November/008776.html>

-- 
Angel Marin
http://anmar.eu.org/